Skip to content

Commit

Permalink
MAINT: update pre-commit hooks
Browse files Browse the repository at this point in the history
- add codespell exceptions
  • Loading branch information
reneeotten committed Jul 9, 2024
1 parent ba51a7c commit 0f23b10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ exclude: 'doc/conf.py'

repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.2
rev: v3.16.0
hooks:
- id: pyupgrade
args: [--py38-plus]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-ast
- id: check-builtin-literals
Expand All @@ -23,7 +23,7 @@ repos:
args: [--remove]

- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
rev: 7.1.0
hooks:
- id: flake8
additional_dependencies: [flake8-deprecated, flake8-mutable, Flake8-pyproject]
Expand Down Expand Up @@ -51,14 +51,14 @@ repos:
- id: python-check-blanket-noqa

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
files: '.py|.rst'
exclude: 'doc/doc_examples_to_gallery.py|.ipynb'
# escaped characters currently do not work correctly
# so \nnumber is considered a spelling error....
args: ["-L nnumber", "-L mone"]
args: ["-L nnumber", "-L mone", "-L assertIn", "-L efine",]

- repo: https://github.com/asottile/yesqa
rev: v1.5.0
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ force_sort_within_sections = "True"
[tool.rstcheck]
report_level = "WARNING"
ignore_substitutions = [
"release"
"release",
]
ignore_roles = [
"scipydoc",
Expand Down

0 comments on commit 0f23b10

Please sign in to comment.