fix: tighten ruff.toml + add CI lint step (#108) #109

Merged
cal merged 1 commits from ai/paper-dynasty-discord#108 into main 2026-03-23 12:55:32 +00:00

1 Commits

Author SHA1 Message Date
Cal Corum
bf7a8f8394 fix: tighten ruff.toml + add CI lint step (#108)
All checks were successful
Build Docker Image / build (pull_request) Successful in 1m39s
Ruff Lint / lint (pull_request) Successful in 1m42s
- Remove global F841/F401 suppression; scope to legacy directories via
  per-file-ignores so new files outside those paths get full enforcement
- Add per-file-ignores covering all 26 pre-existing violations that
  currently block the pre-commit hook (E711/E713/E721/E722/F811/F821)
- Keep global ignores only for genuine project patterns:
  F403/F405 (star imports in __init__.py), E712 (SQLModel ORM ==),
  F541 (1000+ legacy f-strings, cosmetic, deferred cleanup)
- Add .gitea/workflows/ruff-lint.yml — ruff check on every PR to main,
  so violations are caught before merge even if hook was bypassed

Closes #108

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 01:37:24 -05:00