ci: pin ruff to 0.15.20#6
Merged
Merged
Conversation
"pip install --upgrade ruff" made the lint job non-deterministic: a ruff release with new formatting rules would fail CI on files a PR never touched. Pin the version CI has been green with (0.15.20 is format- and lint-clean on current main) and bump it deliberately, reformatting in the same commit. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
The lint job installed ruff with
pip install --upgrade ruff, so any ruff release that changes formatting rules would break CI on files a PR never touched (this nearly happened on #5, where local and CI ruff versions already disagreed about 31 files before the repo-wide reformat in #4).Pin to 0.15.20, verified format- and lint-clean against current
main(ruff format --check .→ 68 files already formatted;ruff check .→ all checks passed). The workflow comment documents the bump procedure: install the new version and reformat in the same commit.🤖 Generated with Claude Code