ci(ruff): pin ruff below 0.16 to match the pinned pre-commit hook - #15
Merged
tuyakhov merged 1 commit intoJul 29, 2026
Merged
Conversation
CI installs the dev extra with a floating `ruff>=0.5`, so it picks up ruff 0.16, which formats Python code blocks inside Markdown by default. That makes `ruff format --check .` reformat README.md and fail, even though the pinned ruff-pre-commit hook (0.15.17) and local runs are clean. Pin `ruff==0.15.17` in the dev extra so CI matches the pre-commit hook and the lint gate is deterministic. No source changes.
6 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
What
CI installs the
devextra with a floatingruff>=0.5, so it now resolves toruff 0.16, which formats Python code blocks inside Markdown by default.
That makes the
ruff format --check .gate reformatREADME.mdand fail —even though the pinned
ruff-pre-commithook (v0.15.17) and local runs areclean. It's the reason the
Lint & type-checkjob (and the aggregateCIgate that depends on it) is currently red on this branch.
Fix
Pin
ruff==0.15.17in thedevextra so CI matches the already-pinnedpre-commit hook and the lint gate is deterministic. One line in
pyproject.toml; no source changes.Verification
ruff format --check .— clean under 0.15.17; reformatsREADME.mdunder 0.16 (the failure this fixes).ruff check .— passes.Targeted at this inbound branch so its CI goes green; the inbound follow-up PR
stacked on it inherits the fix.
Generated by Claude Code