Skip to content

Commit 375ed54

Browse files
chore: update pre-commit hooks (#1421)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Steven Silvester <[email protected]>
1 parent af1342d commit 375ed54

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 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: v4.6.0
88
hooks:
99
- id: check-case-conflict
1010
- id: check-ast
@@ -21,7 +21,7 @@ repos:
2121
- id: trailing-whitespace
2222

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

@@ -52,7 +52,7 @@ repos:
5252
- id: rst-inline-touching-normal
5353

5454
- repo: https://github.com/pre-commit/mirrors-mypy
55-
rev: "v1.9.0"
55+
rev: "v1.10.0"
5656
hooks:
5757
- id: mypy
5858
files: jupyter_server
@@ -61,7 +61,7 @@ repos:
6161
["traitlets>=5.13", "jupyter_core>=5.5", "jupyter_client>=8.5"]
6262

6363
- repo: https://github.com/astral-sh/ruff-pre-commit
64-
rev: v0.3.5
64+
rev: v0.4.3
6565
hooks:
6666
- id: ruff
6767
types_or: [python, jupyter]
@@ -70,7 +70,7 @@ repos:
7070
types_or: [python, jupyter]
7171

7272
- repo: https://github.com/scientific-python/cookie
73-
rev: "2024.03.10"
73+
rev: "2024.04.23"
7474
hooks:
7575
- id: sp-repo-review
7676
additional_dependencies: ["repo-review[cli]"]

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ ignore = [
190190
"RUF012",
191191
# Use `X | Y` for type annotations
192192
"UP007",
193+
# Use format specifiers instead of percent format
194+
"UP031",
193195
]
194196
unfixable = [
195197
# Don't touch print statements

0 commit comments

Comments
 (0)