Skip to content

Commit ce09657

Browse files
committed
Refine pre-commit
1 parent a935284 commit ce09657

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

.pre-commit-config.yaml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ repos:
8686
- repo: https://github.com/rhysd/actionlint
8787
rev: v1.7.8
8888
hooks:
89-
- id: actionlint-docker
89+
- id: actionlint
9090
name: actionlint (syntax/structure)
9191
description: Checks GitHub Actions workflow syntax and structural correctness
9292

9393
- repo: https://github.com/zizmorcore/zizmor-pre-commit
94-
rev: v1.16.0
94+
rev: v1.16.1
9595
hooks:
9696
- id: zizmor
9797
name: zizmor (security)
@@ -239,22 +239,21 @@ repos:
239239
entry: "isort"
240240
args: ["--settings-file", "pyproject.toml"]
241241

242-
# Temporarily disabled due to untokenize incompatibility with Python 3.14
243-
# - repo: https://github.com/PyCQA/docformatter
244-
# rev: v1.7.7
245-
# hooks:
246-
# - id: docformatter
247-
# language_version: python3.13 # Pin to 3.13 due to untokenize incompatibility with 3.14
248-
# additional_dependencies: [tomli]
249-
# args: [
250-
# "--wrap-summaries", "88",
251-
# "--wrap-descriptions", "88",
252-
# "--make-summary-multi-line",
253-
# "--pre-summary-newline",
254-
# "--blank",
255-
# "--recursive",
256-
# "--in-place",
257-
# ]
242+
- repo: https://github.com/PyCQA/docformatter
243+
rev: v1.7.7
244+
hooks:
245+
- id: docformatter
246+
language_version: python3.13 # Pin to 3.13 due to untokenize incompatibility with 3.14
247+
additional_dependencies: [tomli]
248+
args: [
249+
"--wrap-summaries", "88",
250+
"--wrap-descriptions", "88",
251+
"--make-summary-multi-line",
252+
"--pre-summary-newline",
253+
"--blank",
254+
"--recursive",
255+
"--in-place",
256+
]
258257

259258
- repo: https://github.com/pre-commit/mirrors-mypy
260259
rev: v1.18.2
@@ -275,7 +274,7 @@ repos:
275274
]
276275

277276
- repo: https://github.com/astral-sh/uv-pre-commit
278-
rev: 0.9.5 # Must match uv-version file
277+
rev: 0.9.6 # Must match uv-version file
279278
hooks:
280279
- id: uv-lock
281280
files: ^python/uv\.lock$

0 commit comments

Comments
 (0)