Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 27c0a55

Browse files
committedOct 2, 2024·
maint: add codespell to pre-commit check
1 parent b9b549e commit 27c0a55

File tree

2 files changed

+24
-18
lines changed

2 files changed

+24
-18
lines changed
 

‎.pre-commit-config.yaml

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
exclude: ".*/data/.*"
22
repos:
3-
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.4.0
5-
hooks:
6-
- id: trailing-whitespace
7-
exclude: '.*\.svg'
8-
- id: end-of-file-fixer
9-
exclude: '.*\.svg'
10-
- id: check-yaml
11-
- id: check-json
12-
- id: check-toml
13-
- id: check-added-large-files
14-
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.6.5
16-
hooks:
17-
- id: ruff
18-
args: [ --fix ]
19-
- id: ruff-format
3+
- repo: https://github.com/pre-commit/pre-commit-hooks
4+
rev: v4.4.0
5+
hooks:
6+
- id: trailing-whitespace
7+
exclude: '.*\.svg'
8+
- id: end-of-file-fixer
9+
exclude: '.*\.svg'
10+
- id: check-yaml
11+
- id: check-json
12+
- id: check-toml
13+
- id: check-added-large-files
14+
- repo: https://github.com/astral-sh/ruff-pre-commit
15+
rev: v0.6.5
16+
hooks:
17+
- id: ruff
18+
args: [--fix]
19+
- id: ruff-format
20+
- repo: https://github.com/codespell-project/codespell
21+
rev: v2.3.0
22+
hooks:
23+
- id: codespell
24+
additional_dependencies:
25+
- tomli

‎CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This new minor release includes a few bug fixes, such as excluding MCRIBS from s
1111
* FIX: MCRIBS auto surface reconstruction logic (#399)
1212
* FIX: Do not force masking of anatomicals when using `--derivatives` (#400)
1313

14-
### Interals / Maintenance
14+
### Internals / Maintenance
1515
* MAINT: Revisit warnings filter (#396)
1616
* MAINT: Automate testing with tox (#404)
1717
* MAINT: Port over parser arguments and tests from fmriprep (#401)

0 commit comments

Comments
 (0)
Please sign in to comment.