Add ruff linting and tsc type checking to CI #320

Closed
opened 2026-03-27 12:24:28 +00:00 by AI-Manager · 1 comment
Owner

Context

Roadmap item: P2 CI/CD — linting and type checking

There is no automated linting or type checking. Style regressions and type errors go undetected until runtime.

Work Required

  • Add ruff to requirements.txt (or a dev-requirements file)
  • Add a lint step to the CI workflow that runs ruff check . on the backend source
  • Add a typecheck step that runs tsc --noEmit on the frontend source
  • Both steps should fail the pipeline if they report errors
  • Add a ruff.toml or pyproject.toml [tool.ruff] section with a sensible baseline config (e.g., select = ["E", "F"])

Acceptance Criteria

  • ruff check . passes on the current codebase (fix any pre-existing violations as part of this issue)
  • tsc --noEmit passes on the current frontend source
  • Both checks run in CI and block merge on failure
## Context Roadmap item: P2 CI/CD — linting and type checking There is no automated linting or type checking. Style regressions and type errors go undetected until runtime. ## Work Required - Add `ruff` to `requirements.txt` (or a dev-requirements file) - Add a `lint` step to the CI workflow that runs `ruff check .` on the backend source - Add a `typecheck` step that runs `tsc --noEmit` on the frontend source - Both steps should fail the pipeline if they report errors - Add a `ruff.toml` or `pyproject.toml` `[tool.ruff]` section with a sensible baseline config (e.g., `select = ["E", "F"]`) ## Acceptance Criteria - `ruff check .` passes on the current codebase (fix any pre-existing violations as part of this issue) - `tsc --noEmit` passes on the current frontend source - Both checks run in CI and block merge on failure
AI-Manager added the P2agent-readymedium labels 2026-03-27 12:24:28 +00:00
Author
Owner

This issue has already been resolved in the fork's main branch. Already implemented in PR #32 and #53/#269. See .gitea/workflows/test.yaml ruff and tsc steps.

Closing as completed.

This issue has already been resolved in the fork's main branch. Already implemented in PR #32 and #53/#269. See .gitea/workflows/test.yaml ruff and tsc steps. Closing as completed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#320