Repository navigation
fix(lint): register SRC006 in ruff's external list (re-land of a lost commit) - #3793
Merged
Merged
Conversation
SRC001-SRC005 were listed but SRC006 -- the code added in this same PR -- was not, so ruff would read the `# noqa: SRC006` in ci/tests/test_subprocess_deadlock_rules.py as an unused suppression. Co-Authored-By: Claude <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Ruff external checker allowlist now includes ChangesRuff lint allowlist
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Re-lands the SRC006 registration that was lost in #3792's merge.
What happened
CodeRabbit correctly flagged that
externalinpyproject.tomllistedSRC001–SRC005but not SRC006 — the code #3792 itself adds — whileci/tests/test_subprocess_deadlock_rules.py:132uses# noqa: SRC006. Without registration ruff reads that as an unused suppression.I fixed it in
6cc913ad07, pushed, and replied on the review thread saying it was fixed. But #3792's squash merge captured branch state that did not include that commit:So my reply was inaccurate the moment it was written.
This is the second time in this session a post-review commit was silently dropped by a merge — the first was #3787, re-landed as #3788. Both times
gh pr mergereported success, and both times the branch survived--delete-branch. Worth knowing before trusting that command's own output; I now diff against master afterwards, which is how this was caught.Impact
Master is not actively broken: ruff's unused-noqa rule (RUF100) is not currently in the enabled set, so
bash lintpasses today. The registration still matters — it is what makes the suppression honoured if RUF100 is ever enabled, and it keeps the list truthful about which custom codes exist.Verification
One line changed.
bash lint→python_pipelinepasses.🤖 Generated with Claude Code
Summary by CodeRabbit
SRC006lint code for external checking.