Repository navigation
chore: align pre-commit ruff hook with the pinned ruff 0.17.0 - #335
Conversation
.pre-commit-config.yaml ran ruff-pre-commit v0.16.2 while pyproject and requirements-dev/-py313 pin ruff==0.17.0 (#331). Dependabot bumps the pin but not pre-commit revs, so local hooks and CI could lint with different rule sets. `pre-commit run --all-files ruff` and `ruff-format` pass on v0.17.0 with no changes; ruff 0.16.10 and 0.17.0 give identical `check --statistics` (0 violations) and 206 files already formatted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates the ruff-pre-commit revision to v0.17.0 so local hooks match the pinned Ruff version used by the project, and documents the fix in the Unreleased changelog. Verification confirms both Ruff hooks pass without changing files; CI is unaffected because it invokes Ruff from pinned development dependencies. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
🔒 Security Analysis ReportSecurity Analysis ReportGenerated: Sat Oct 17 01:05:19 UTC 2026 Bandit Security ScanPip-Audit Results |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Summary
Aligns the pre-commit ruff hook with the pinned ruff.
.pre-commit-config.yamlranruff-pre-commitv0.16.2, whilepyproject.toml,requirements-dev.txtandrequirements-py313.txtpinruff==0.17.0(since #331). Dependabot bumps the pin but not pre-commit revs, so local hooks and CI could lint with different rule sets.Changes
.pre-commit-config.yaml:ruff-pre-commitrev: v0.16.2→v0.17.0CHANGELOG.md: an Unreleased → Fixed entryVerification
pre-commit run --all-files ruffandpre-commit run --all-files ruff-formatboth pass onv0.17.0and change no files.ruff check --statisticsgives identical output on ruff 0.16.10 and 0.17.0 (0 violations);ruff format --checkreports 206 files already formatted on both.🤖 Generated with Claude Code
Summary by Sourcery
Align the pre-commit Ruff hooks with the pinned Ruff version.
Enhancements:
Documentation: