Skip to content

Commit fb2e6c2

Browse files
committed
chore(humanify): update pre-commit hooks and versions
1 parent e5466c5 commit fb2e6c2

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,31 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.0.1
3+
rev: v4.6.0
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
77
- id: check-yaml
88
- id: check-json
99
- id: check-xml
10+
- id: check-ast
11+
- id: check-docstring-first
12+
- id: check-merge-conflict
13+
- id: check-added-large-files
1014
- repo: https://github.com/astral-sh/ruff-pre-commit
11-
rev: v0.4.9
15+
rev: v0.12.3
1216
hooks:
1317
# Run the linter.
1418
- id: ruff
1519
args: [ check, --select, I, --fix ]
1620
# Run the formatter.
1721
- id: ruff-format
1822
- repo: https://github.com/PyCQA/bandit
19-
rev: 1.7.9
23+
rev: 1.8.6
2024
hooks:
2125
- id: bandit
2226
exclude: "[a-zA-Z]*/(migrations|tests|settings)/(.)*"
2327
- repo: https://github.com/pre-commit/mirrors-mypy
24-
rev: 'v1.14.1'
28+
rev: 'v1.17.0'
2529
hooks:
2630
- id: mypy
2731
args: [--strict, --disable-error-code=misc]

0 commit comments

Comments
 (0)