Skip to content

chore(deps): update pre-commit hooks - #6126

Merged
henryiii merged 3 commits into
masterfrom
pre-commit-ci-update-config
Aug 6, 2026
Merged

chore(deps): update pre-commit hooks#6126
henryiii merged 3 commits into
masterfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci

@pre-commit-ci pre-commit-ci Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

updates:
- [github.com/pre-commit/mirrors-clang-format: v22.1.5 → v22.1.8](pre-commit/mirrors-clang-format@v22.1.5...v22.1.8)
- [github.com/astral-sh/ruff-pre-commit: v0.15.20 → v0.16.1](astral-sh/ruff-pre-commit@v0.15.20...v0.16.1)
- [github.com/pre-commit/mirrors-mypy: v2.1.0 → v2.3.0](pre-commit/mirrors-mypy@v2.1.0...v2.3.0)
- [github.com/codespell-project/codespell: v2.4.2 → v2.4.3](codespell-project/codespell@v2.4.2...v2.4.3)
@pre-commit-ci
pre-commit-ci Bot requested a review from henryiii as a code owner August 3, 2026 22:04
pre-commit-ci Bot and others added 2 commits August 3, 2026 22:06
The hook update pulled in ruff 0.16, which expanded its default rules and
autofixed `self: S -> S` to `-> Self`. That fix added a runtime
`typing_extensions` import to setup_helpers.py, which must stay
dependency-free; it broke every test job whose environment does not supply
that package. The import is now guarded by TYPE_CHECKING.

Also replace the `exec` in docs/conf.py with an importlib module load,
parenthesize implicit string concatenations in list literals, mark unused
unpacked variables with a leading underscore, and make noxfile.py
executable to match its shebang.

The remaining new rules are silenced per-file, with reasons: the chrono
tests check naive local time on purpose, and the other rules conflict with
how the tests are written.

Assisted-by: ClaudeCode:claude-opus-5
@henryiii
henryiii merged commit 6dd1756 into master Aug 6, 2026
133 of 134 checks passed
@henryiii
henryiii deleted the pre-commit-ci-update-config branch August 6, 2026 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant