Skip to content

Fix CI: bump ruff/zuban, remove dead code, drop leaked codecov token - #247

Merged
adamlogan73 merged 2 commits into
mainfrom
cleanup-and-deps
Sep 1, 2026
Merged

adamlogan73 merged 2 commits into
mainfrom
cleanup-and-deps

Conversation

@adamlogan73

@adamlogan73 adamlogan73 commented Sep 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Ruff 0.16 promoted CPY001 (copyright notice) to stable under our select=ALL config, breaking CI on every file; added CPY to ignore
  • Bumped pre-commit hook revs (ruff v0.15.6→v0.16.5, pre-commit-hooks v4.1.0→v6.0.0) to match
  • Removed a bytes-decode branch in processing.py — static analysis confirms it's unreachable given niquests' typed headers.get() return
  • Dropped the plaintext codecov upload token from codecov.yml (public repo, tokenless upload works; CI itself uses secrets.CODECOV_TOKEN, untouched)
  • Version bump to 6.1.0 for the labels field addition in Add labels field to EntityRegistryEntry #246

Test plan

  • ruff format --check, ruff check, zuban check all pass
  • Full test suite passes (175 tests)
  • CI green on this PR

Ruff 0.16 promoted CPY001 (copyright notice) to stable under our
select=ALL config, breaking CI on every file; ignore it. Bumped
pre-commit hook revs to match. Removed a bytes-decode branch in
processing.py that static analysis confirms is unreachable given
niquests' typed headers.get() return. Dropped the plaintext codecov
upload token from codecov.yml (public repo, tokenless upload works).
@adamlogan73
adamlogan73 merged commit 9cc48b9 into main Sep 1, 2026
5 checks passed
@adamlogan73
adamlogan73 deleted the cleanup-and-deps branch September 1, 2026 20:28
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.

1 participant