Skip to content

Commit 920da73

Browse files
committed
update pre-commit and related
1 parent 95f2451 commit 920da73

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 11 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: v5.0.0
7+
rev: v6.0.0
88
hooks:
99
- id: check-case-conflict
1010
- id: check-ast
@@ -22,16 +22,15 @@ repos:
2222
- id: trailing-whitespace
2323

2424
- repo: https://github.com/python-jsonschema/check-jsonschema
25-
rev: 0.33.2
25+
rev: 0.34.1
2626
hooks:
2727
- id: check-github-workflows
2828

29-
- repo: https://github.com/executablebooks/mdformat
30-
rev: 0.7.22
29+
- repo: https://github.com/hukkin/mdformat
30+
rev: 1.0.0
3131
hooks:
3232
- id: mdformat
33-
additional_dependencies:
34-
[mdformat-gfm, mdformat-frontmatter, mdformat-footnote]
33+
additional_dependencies: [mdformat-footnote]
3534

3635
- repo: https://github.com/pre-commit/mirrors-prettier
3736
rev: "v4.0.0-alpha.8"
@@ -40,7 +39,7 @@ repos:
4039
types_or: [yaml, html, json]
4140

4241
- repo: https://github.com/pre-commit/mirrors-mypy
43-
rev: "v1.17.0"
42+
rev: "v1.18.2"
4443
hooks:
4544
- id: mypy
4645
files: ipykernel
@@ -55,7 +54,7 @@ repos:
5554
]
5655

5756
- repo: https://github.com/adamchainz/blacken-docs
58-
rev: "1.19.1"
57+
rev: "1.20.0"
5958
hooks:
6059
- id: blacken-docs
6160
additional_dependencies: [black==23.7.0]
@@ -74,16 +73,16 @@ repos:
7473
- id: rst-inline-touching-normal
7574

7675
- repo: https://github.com/astral-sh/ruff-pre-commit
77-
rev: v0.12.4
76+
rev: v0.14.2
7877
hooks:
79-
- id: ruff
78+
- id: ruff-check
8079
types_or: [python, jupyter]
8180
args: ["--fix", "--show-fixes"]
8281
- id: ruff-format
8382
types_or: [python, jupyter]
8483

8584
- repo: https://github.com/scientific-python/cookie
86-
rev: "2025.05.02"
85+
rev: "2025.10.20"
8786
hooks:
8887
- id: sp-repo-review
8988
additional_dependencies: ["repo-review[cli]"]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ dependencies = ["pre-commit"]
120120
detached = true
121121
[tool.hatch.envs.lint.scripts]
122122
build = [
123-
"pre-commit run --all-files ruff",
123+
"pre-commit run --all-files ruff-check",
124124
"pre-commit run --all-files ruff-format"
125125
]
126126

0 commit comments

Comments
 (0)