Skip to content

Commit 0f23b10

Browse files
committed
MAINT: update pre-commit hooks
- add codespell exceptions
1 parent ba51a7c commit 0f23b10

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ exclude: 'doc/conf.py'
22

33
repos:
44
- repo: https://github.com/asottile/pyupgrade
5-
rev: v3.15.2
5+
rev: v3.16.0
66
hooks:
77
- id: pyupgrade
88
args: [--py38-plus]
99

1010
- repo: https://github.com/pre-commit/pre-commit-hooks
11-
rev: v4.5.0
11+
rev: v4.6.0
1212
hooks:
1313
- id: check-ast
1414
- id: check-builtin-literals
@@ -23,7 +23,7 @@ repos:
2323
args: [--remove]
2424

2525
- repo: https://github.com/PyCQA/flake8
26-
rev: 7.0.0
26+
rev: 7.1.0
2727
hooks:
2828
- id: flake8
2929
additional_dependencies: [flake8-deprecated, flake8-mutable, Flake8-pyproject]
@@ -51,14 +51,14 @@ repos:
5151
- id: python-check-blanket-noqa
5252

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

6363
- repo: https://github.com/asottile/yesqa
6464
rev: v1.5.0

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ force_sort_within_sections = "True"
110110
[tool.rstcheck]
111111
report_level = "WARNING"
112112
ignore_substitutions = [
113-
"release"
113+
"release",
114114
]
115115
ignore_roles = [
116116
"scipydoc",

0 commit comments

Comments
 (0)