Bump pre-commit ruff hook to v0.13.1 to match the quality extra (#4089)

The pre-commit ruff hook was pinned at v0.2.1, which cannot parse the
current pyproject.toml (it ignores the UP045 and UP035 rule selectors that
0.2.1 does not know), so `pre-commit run` fails on a fresh checkout with
"Unknown rule selector: UP045". setup.py already pins ruff == 0.13.1 for the
quality extra, so this aligns the hook with the version the project targets.

Co-authored-by: devangpratap <[email protected]>
This commit is contained in:
devangpratap
2026-07-07 15:11:59 +02:00
committed by GitHub
co-authored by devangpratap
parent 2278ebbfd5
commit fddc0a8bf0
+1 -1
View File
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.1
rev: v0.13.1
hooks:
- id: ruff
args: