Skip to content

Commit f4047cd

Browse files
committed
update pre-commit
1 parent 33eedbc commit f4047cd

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44

55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.5.0
7+
rev: v6.0.0
88
hooks:
99
- id: check-case-conflict
1010
- id: check-ast
@@ -21,12 +21,12 @@ repos:
2121
- id: trailing-whitespace
2222

2323
- repo: https://github.com/python-jsonschema/check-jsonschema
24-
rev: 0.27.4
24+
rev: 0.34.0
2525
hooks:
2626
- id: check-github-workflows
2727

2828
- repo: https://github.com/executablebooks/mdformat
29-
rev: 0.7.17
29+
rev: 0.7.22
3030
hooks:
3131
- id: mdformat
3232

@@ -37,7 +37,7 @@ repos:
3737
types_or: [yaml, html, json]
3838

3939
- repo: https://github.com/pre-commit/mirrors-mypy
40-
rev: "v1.13.0"
40+
rev: "v1.18.2"
4141
hooks:
4242
- id: mypy
4343
files: jupyter_client
@@ -47,13 +47,13 @@ repos:
4747
["traitlets>=5.13", "ipykernel>=6.26", "jupyter_core>=5.3.2"]
4848

4949
- repo: https://github.com/adamchainz/blacken-docs
50-
rev: "1.16.0"
50+
rev: "1.20.0"
5151
hooks:
5252
- id: blacken-docs
5353
additional_dependencies: [black==23.7.0]
5454

5555
- repo: https://github.com/codespell-project/codespell
56-
rev: "v2.2.6"
56+
rev: "v2.4.1"
5757
hooks:
5858
- id: codespell
5959
args: ["-L", "sur,nd"]
@@ -66,7 +66,7 @@ repos:
6666
- id: rst-inline-touching-normal
6767

6868
- repo: https://github.com/astral-sh/ruff-pre-commit
69-
rev: v0.2.0
69+
rev: v0.14.0
7070
hooks:
7171
- id: ruff
7272
types_or: [python, jupyter]
@@ -75,7 +75,7 @@ repos:
7575
types_or: [python, jupyter]
7676

7777
- repo: https://github.com/scientific-python/cookie
78-
rev: "2024.01.24"
78+
rev: "2025.10.01"
7979
hooks:
8080
- id: sp-repo-review
8181
additional_dependencies: ["repo-review[cli]"]

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ ignore = [
241241
"UP006",
242242
# non-pep604-annotation
243243
"UP007",
244+
#UP031 Use format specifiers instead of percent format,
245+
"UP031"
244246

245247
]
246248
unfixable = [

0 commit comments

Comments
 (0)