Skip to content

Commit a1fff40

Browse files
committed
Update pre-commit config
1 parent a70ab54 commit a1fff40

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
exclude: ".*/data/.*"
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.4.0
4+
rev: v4.6.0
55
hooks:
66
- id: trailing-whitespace
77
- id: end-of-file-fixer
@@ -13,15 +13,18 @@ repos:
1313
- id: check-merge-conflict
1414
- id: check-vcs-permalinks
1515
- repo: https://github.com/astral-sh/ruff-pre-commit
16-
rev: v0.3.4
16+
rev: v0.6.4
1717
hooks:
1818
- id: ruff
19-
args: [--fix, --show-fixes, --exit-non-zero-on-fix]
19+
args: [ --fix ]
2020
exclude: = ["doc", "tools"]
2121
- id: ruff-format
2222
exclude: = ["doc", "tools"]
23+
- id: ruff
24+
args: [ --select, ISC001, --fix ]
25+
exclude: = ["doc", "tools"]
2326
- repo: https://github.com/pre-commit/mirrors-mypy
24-
rev: v1.5.1
27+
rev: v1.11.2
2528
hooks:
2629
- id: mypy
2730
# Sync with project.optional-dependencies.typing
@@ -36,7 +39,7 @@ repos:
3639
args: ["nibabel"]
3740
pass_filenames: false
3841
- repo: https://github.com/codespell-project/codespell
39-
rev: v2.2.6
42+
rev: v2.3.0
4043
hooks:
4144
- id: codespell
4245
additional_dependencies:

0 commit comments

Comments
 (0)