Skip to content

ci: add Ruff lint check#20

Merged
tigdav merged 1 commit into
mainfrom
ci/add-ruff
Jun 4, 2026
Merged

ci: add Ruff lint check#20
tigdav merged 1 commit into
mainfrom
ci/add-ruff

Conversation

@tigdav

@tigdav tigdav commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Added ruff (pinned) to requirements-dev.txt.
  • Added backend/pyproject.toml with a [tool.ruff] configuration: line length 120, target Python 3.11, auto-generated migrations excluded, and a curated lint rule set (E, F, W, B, UP, C4, SIM).
  • Added a Ruff lint step to the CI workflow that runs ruff check . before the tests.

Notes

  • Linting only — no application code was reformatted or modified. The current codebase already passes ruff check . cleanly under this configuration.
  • The rule set was chosen so it passes on the existing code without changes; import sorting (I) and stricter line length were intentionally left out to avoid touching source in this PR.
  • Verified locally with the pinned ruff version: ruff check . exits 0.

@tigdav
tigdav merged commit e359760 into main Jun 4, 2026
1 check passed
@tigdav
tigdav deleted the ci/add-ruff branch June 4, 2026 18:47
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