Skip to content

fix: ignore ruff CPY rules (ruff 0.16.0 broke CI repo-wide) - #515

Merged
leeclemnet merged 1 commit into
mainfrom
fix/ruff-cpy-ignore
Jul 27, 2026
Merged

fix: ignore ruff CPY rules (ruff 0.16.0 broke CI repo-wide)#515
leeclemnet merged 1 commit into
mainfrom
fix/ruff-cpy-ignore

Conversation

@leeclemnet

@leeclemnet leeclemnet commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Unblocks CI for every branch. CI installs unpinned ruff; 0.16.0 (published 2026-07-23) starts enforcing CPY001 (missing copyright notice) under our select = ["ALL"], failing all 72 files at 1: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

  • Bug fix (non-breaking change that fixes an issue)

Testing

  • I have tested this change locally
  • I have added/updated tests for this change

Test details:
With ruff==0.16.0 locally: make check_code_quality passes end to end (ruff format --check, ruff check, mypy — "Success: no issues found in 72 source files"). No test changes; config-only.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code where necessary, particularly in hard-to-understand areas
  • My changes generate no new warnings or errors
  • I have updated the documentation accordingly (if applicable)

Additional Context

Alternative considered: pinning ruff in 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

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>
@leeclemnet
leeclemnet marked this pull request as ready for review July 24, 2026 18:52
@leeclemnet
leeclemnet requested a review from iurisilvio July 24, 2026 18:52
@leeclemnet
leeclemnet merged commit c1e8f8f into main Jul 27, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants