Skip to content

chore(ruff): converge on the standard's ruff block - #69

Merged
lesnik512 merged 1 commit into
mainfrom
ruff-block
Sep 12, 2026
Merged

chore(ruff): converge on the standard's ruff block#69
lesnik512 merged 1 commit into
mainfrom
ruff-block

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Summary

Converges [tool.ruff] on the block in the modern-python standard. Configuration only; no behaviour change in the package.

Changes

  • fix = true, and target-version removed: ruff derives it from requires-python.
  • The ignore list is the standard's eight entries, each with its one-line reason. Ignores measured to suppress nothing across the org are gone (G004, TRY003, EM102 where present). Repo-specific ignores the standard allows are kept, with a reason.
  • S101 moves from a global ignore to "tests/**": assert is the test idiom, and in library code it is a finding. There were no package-side hits to fix.

Checklist

  • Lint and format pass (just lint-ci)
  • Type check passes (ty, part of lint-ci)
  • Tests pass and new behavior is covered — no behaviour change; CI runs the suite
  • Build succeeds — no packaging change
  • Repo metadata stays consistent across the three surfaces — untouched

@lesnik512
lesnik512 merged commit bcea833 into main Sep 12, 2026
6 checks passed
@lesnik512
lesnik512 deleted the ruff-block branch September 12, 2026 11:10
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