Skip to content

Commit

Permalink
maint: add codespell to pre-commit check
Browse files Browse the repository at this point in the history
  • Loading branch information
mgxd committed Oct 2, 2024
1 parent b9b549e commit 27c0a55
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 18 deletions.
40 changes: 23 additions & 17 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
exclude: ".*/data/.*"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
exclude: '.*\.svg'
- id: end-of-file-fixer
exclude: '.*\.svg'
- id: check-yaml
- id: check-json
- id: check-toml
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.5
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
exclude: '.*\.svg'
- id: end-of-file-fixer
exclude: '.*\.svg'
- id: check-yaml
- id: check-json
- id: check-toml
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.5
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies:
- tomli
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This new minor release includes a few bug fixes, such as excluding MCRIBS from s
* FIX: MCRIBS auto surface reconstruction logic (#399)
* FIX: Do not force masking of anatomicals when using `--derivatives` (#400)

### Interals / Maintenance
### Internals / Maintenance
* MAINT: Revisit warnings filter (#396)
* MAINT: Automate testing with tox (#404)
* MAINT: Port over parser arguments and tests from fmriprep (#401)
Expand Down

0 comments on commit 27c0a55

Please sign in to comment.