Skip to content

Commit dcb2b00

Browse files
authored
Update .pre-commit-config.yaml
1 parent af3ecfa commit dcb2b00

File tree

1 file changed

+41
-8
lines changed

1 file changed

+41
-8
lines changed

.pre-commit-config.yaml

+41-8
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,50 @@
55
# Then in the project root directory run `pre-commit install`
66

77
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+
847
- repo: https://github.com/codespell-project/codespell
948
rev: v2.4.1
1049
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"]
1452
additional_dependencies:
1553
- tomli
1654

@@ -20,11 +58,6 @@ repos:
2058
- id: ruff
2159
- id: ruff-format
2260

23-
- repo: https://github.com/pycqa/flake8
24-
rev: 7.1.2
25-
hooks:
26-
- id: flake8
27-
2861
- repo: https://github.com/tox-dev/pyproject-fmt
2962
rev: v2.5.1
3063
hooks:

0 commit comments

Comments
 (0)