aboutsummaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..25e095a
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,16 @@
1repos:
2 - repo: https://github.com/pre-commit/pre-commit-hooks
3 rev: v6.0.0
4 hooks:
5 - id: check-yaml
6 - id: end-of-file-fixer
7 - id: trailing-whitespace
8 - repo: https://github.com/astral-sh/ruff-pre-commit
9 # Ruff version.
10 rev: v0.16.6
11 hooks:
12 # Run the linter.
13 - id: ruff-check
14 args: [ --fix ]
15 # Run the formatter.
16 - id: ruff-format