fix: ignore ruff CPY rules (ruff 0.16.0 broke CI repo-wide) - #515
Merged
Conversation
CI installs unpinned ruff; 0.16.0 (2026-07-23) starts enforcing CPY001 (missing copyright notice) under select = ["ALL"], failing every file. Add the CPY family to the ignore list alongside the other excluded families. Verified with ruff 0.16.0: format, check, and mypy all pass. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
probicheaux
approved these changes
Jul 27, 2026
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 does this PR do?
Unblocks CI for every branch. CI installs unpinned
ruff; 0.16.0 (published 2026-07-23) starts enforcingCPY001(missing copyright notice) under ourselect = ["ALL"], failing all 72 files at1:1. Main's own latest test run is red for this reason (first failing run: the #510 merge, which happened to land right after the ruff release — the commit itself is innocent).Adds
"CPY"to the existing family-level ignore list, matching how the config already excludes rule families wholesale.Related Issue(s): n/a — CI infrastructure fix.
Type of Change
Testing
Test details:
With
ruff==0.16.0locally:make check_code_qualitypasses end to end (ruff format --check, ruff check, mypy — "Success: no issues found in 72 source files"). No test changes; config-only.Checklist
Additional Context
Alternative considered: pinning
ruffin the dev extras — declined since the repo deliberately floats dev tools; family-ignore matches the existing config idiom. Note the test workflow checks out the PR head ref (not the merge ref), so open PRs stay red until they rebase over this or carry the same one-liner (#512 carries it).🤖 Generated with Claude Code