5
5
# Then in the project root directory run `pre-commit install`
6
6
7
7
repos :
8
+ - repo : https://github.com/pre-commit/pre-commit-hooks
9
+ rev : v5.0.0
10
+ hooks :
11
+ - id : check-added-large-files
12
+ - id : check-ast
13
+ - id : check-builtin-literals
14
+ - id : check-case-conflict
15
+ - id : check-docstring-first
16
+ - id : check-executables-have-shebangs
17
+ - id : check-json
18
+ - id : check-merge-conflict
19
+ - id : check-shebang-scripts-are-executable
20
+ - id : check-symlinks
21
+ - id : check-toml
22
+ - id : check-vcs-permalinks
23
+ - id : check-xml
24
+ - id : check-yaml
25
+ - id : debug-statements
26
+ - id : destroyed-symlinks
27
+ - id : detect-private-key
28
+ - id : end-of-file-fixer
29
+ - id : file-contents-sorter
30
+ - id : fix-byte-order-marker
31
+ - id : forbid-new-submodules
32
+ - id : forbid-submodules
33
+ - id : mixed-line-ending
34
+ args :
35
+ - --fix=lf
36
+ - id : name-tests-test
37
+ - id : pretty-format-json
38
+ - id : requirements-txt-fixer
39
+ - id : sort-simple-yaml
40
+ - id : trailing-whitespace
41
+
42
+ - repo : https://github.com/MarcoGorelli/auto-walrus
43
+ rev : 0.3.4
44
+ hooks :
45
+ - id : auto-walrus
46
+
8
47
- repo : https://github.com/codespell-project/codespell
9
48
rev : v2.4.1
10
49
hooks :
11
- - id : codespell
12
- args :
13
- - --ignore-words-list=alse,ons
50
+ - id : codespell # See pyproject.toml for args
51
+ args : ["--ignore-words-list=blok"]
14
52
additional_dependencies :
15
53
- tomli
16
54
@@ -20,11 +58,6 @@ repos:
20
58
- id : ruff
21
59
- id : ruff-format
22
60
23
- - repo : https://github.com/pycqa/flake8
24
- rev : 7.1.2
25
- hooks :
26
- - id : flake8
27
-
28
61
- repo : https://github.com/tox-dev/pyproject-fmt
29
62
rev : v2.5.1
30
63
hooks :
0 commit comments