Repository navigation
build(deps): bump ruff to 0.17.4 - #40
Merged
Merged
Conversation
ruff 0.17 drops seven flake8-datetimez rules (DTZ001, DTZ005-DTZ007, DTZ011, DTZ012, DTZ901) from its default set and adds F406. Select the seven explicitly so the upgrade does not narrow the lint gate; the enabled rule set is now 0.16.8's plus F406. No code changes: lint and format are clean under 0.17.4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 10, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Step 4a of the dependency refresh: ruff 0.16.8 → 0.17.4, a minor treated as its own reviewable change (CLAUDE.md, Commands).
What 0.17 changes for us
flake8-datetimezrules leave the defaults:DTZ001,DTZ005,DTZ006,DTZ007,DTZ011,DTZ012andDTZ901.F406(a syntax error) joins them. Left alone, the gate would have narrowed with every check still green.pyproject.tomltherefore selects the seven explicitly.ruff check --show-settingsconfirms the enabled set is exactly 0.16.8's 414 rules plusF406, and a probe file still raisesDTZ005.requires-python), the pragma-comment line-length change (nothing is reformatted) and the removal of ruff-lsp.Docs
CLAUDE.md records the DTZ narrowing and says to diff the enabled rules on every ruff upgrade. Its preview early-warning figure is refreshed: under 0.17.4, preview lint reports 17 findings and the preview formatter would reformat 12 files (7 on 2026-10-29).
Verification
GATE_FORCE=1 ./scripts/gate.shpasses.🤖 Generated with Claude Code