Skip to content

Commit 4b8b5b2

Browse files
committed
'precommit-update'
1 parent e1ea064 commit 4b8b5b2

1 file changed

Lines changed: 44 additions & 28 deletions

File tree

.pre-commit-config.yaml

Lines changed: 44 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
# See https://pre-commit.com for more information
3-
# See https://pre-commit.com/hooks.html for more hooks
42
repos:
53
- repo: https://github.com/pre-commit/pre-commit-hooks
64
rev: v6.0.0
@@ -13,71 +11,89 @@ repos:
1311
- id: check-yaml
1412
- id: debug-statements
1513
- id: trailing-whitespace
16-
1714
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
1815
rev: 0.2.3
1916
hooks:
2017
- id: yamlfmt
21-
args: [--mapping, '4', --sequence, '4', --offset, '0']
22-
18+
args:
19+
- --mapping
20+
- '4'
21+
- --sequence
22+
- '4'
23+
- --offset
24+
- '0'
2325
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
2426
rev: v2.16.0
2527
hooks:
2628
- id: pretty-format-toml
27-
args: [--autofix, --indent, '4']
28-
29+
args:
30+
- --autofix
31+
- --indent
32+
- '4'
2933
- repo: https://github.com/asottile/pyupgrade
3034
rev: v3.21.2
3135
hooks:
3236
- id: pyupgrade
33-
args: [--py38-plus]
34-
37+
args:
38+
- --py38-plus
3539
- repo: https://github.com/seddonym/import-linter
36-
rev: v2.10
40+
rev: v2.11
3741
hooks:
3842
- id: import-linter
39-
4043
- repo: https://github.com/pycqa/isort
4144
rev: 8.0.1
4245
hooks:
4346
- id: isort
44-
args: [--settings-path, pyproject.toml]
45-
47+
args:
48+
- --settings-path
49+
- pyproject.toml
4650
- repo: https://github.com/adamchainz/blacken-docs
4751
rev: 1.20.0
4852
hooks:
4953
- id: blacken-docs
5054
additional_dependencies:
5155
- black==24.2.0
52-
5356
- repo: https://github.com/psf/black-pre-commit-mirror
54-
rev: 26.1.0
57+
rev: 26.3.0
5558
hooks:
5659
- id: black
57-
args: [--config=pyproject.toml]
58-
60+
args:
61+
- --config=pyproject.toml
5962
- repo: https://github.com/pre-commit/mirrors-mypy
6063
rev: v1.19.1
6164
hooks:
6265
- id: mypy
63-
additional_dependencies: [pydantic, numpy, types-Jinja2]
66+
additional_dependencies:
67+
- pydantic
68+
- numpy
69+
- types-Jinja2
6470
files: bidsmreye
65-
args: [--config-file, pyproject.toml]
66-
71+
args:
72+
- --config-file
73+
- pyproject.toml
6774
- repo: https://github.com/codespell-project/codespell
68-
rev: v2.4.1
75+
rev: v2.4.2
6976
hooks:
7077
- id: codespell
71-
args: [--toml=pyproject.toml]
72-
additional_dependencies: [tomli]
73-
78+
args:
79+
- --toml=pyproject.toml
80+
additional_dependencies:
81+
- tomli
7482
- repo: https://github.com/pycqa/flake8
7583
rev: 7.3.0
7684
hooks:
7785
- id: flake8
78-
exclude: tests_.*.py|version.*.py|setup.py # ignore tests and versioneer related code
79-
args: [--config, .flake8, --verbose]
80-
additional_dependencies: [flake8-docstrings, flake8-use-fstring, flake8-functions, flake8-bugbear]
81-
86+
exclude: tests_.*.py|version.*.py|setup.py
87+
args:
88+
- --config
89+
- .flake8
90+
- --verbose
91+
additional_dependencies:
92+
- flake8-docstrings
93+
- flake8-use-fstring
94+
- flake8-functions
95+
- flake8-bugbear
8296
ci:
8397
autoupdate_commit_msg: 'chore: update pre-commit hooks'
98+
autoupdate_schedule: monthly
99+
autofix_commit_msg: 'style: pre-commit fixes'

0 commit comments

Comments
 (0)