You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expand ruff lint rules and rename make chk to make lint
Add 11 new ruff lint rule categories (UP, PIE, PERF, T20, FLY, ISC, RSE,
RUF, PGH, G, PT) and fix all violations across the codebase. Key changes:
- Rename `make chk` to `make lint` in Makefile, CLAUDE.md, and docs
- Modernize type annotations (Union → X|Y, Optional → X|None)
- Convert f-string logging to lazy % formatting (G004/G003)
- Replace blanket `# type: ignore` with specific error codes (PGH003)
- Add ClassVar annotations for mutable class attributes (RUF012)
- Add match parameters to pytest.raises(ValueError) calls (PT011)
- Extract setup from pytest.raises blocks (PT012)
- Use tuple for pytest.mark.parametrize names (PT006)
- Replace yield-for-loop with yield from (UP028)
- Use collection unpacking instead of concatenation (RUF005)
- Add per-file-ignores for SQLAlchemy naming conventions (N802, N801)
- Suppress PEP 249 required names that conflict with lint rules (B027, N818)
- Exclude benchmarks directory from ruff checking
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments