Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #217

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

Context

The CI pipeline has no linting or type-checking step. Style violations and TypeScript type errors go undetected until a developer runs checks locally (if at all).

Roadmap reference: ROADMAP.md > P2 > CI/CD > No linting or type checking

What to do

  • Add ruff to requirements.txt (or requirements-dev.txt) and configure it in pyproject.toml or ruff.toml.
  • Add a lint job to CI that runs ruff check . on the backend.
  • Add a typecheck job (or step) that runs tsc --noEmit on the frontend.
  • Both checks should block merge on failure.

Acceptance criteria

  • ruff check . runs in CI and a ruff violation causes the pipeline to fail.
  • tsc --noEmit runs in CI and a TypeScript error causes the pipeline to fail.
  • Both checks pass on the current codebase (fix any pre-existing violations as part of this issue).
## Context The CI pipeline has no linting or type-checking step. Style violations and TypeScript type errors go undetected until a developer runs checks locally (if at all). Roadmap reference: ROADMAP.md > P2 > CI/CD > No linting or type checking ## What to do - Add `ruff` to `requirements.txt` (or `requirements-dev.txt`) and configure it in `pyproject.toml` or `ruff.toml`. - Add a `lint` job to CI that runs `ruff check .` on the backend. - Add a `typecheck` job (or step) that runs `tsc --noEmit` on the frontend. - Both checks should block merge on failure. ## Acceptance criteria - `ruff check .` runs in CI and a ruff violation causes the pipeline to fail. - `tsc --noEmit` runs in CI and a TypeScript error causes the pipeline to fail. - Both checks pass on the current codebase (fix any pre-existing violations as part of this issue).
AI-Manager added the P2agent-readymedium labels 2026-03-27 05:24:22 +00:00
Author
Owner

This issue has already been resolved in the current codebase.

.gitea/workflows/test.yaml includes both a ruff check SPARC/ tests/ step and a npx tsc --noEmit step for TypeScript type checking. A ruff.toml configuration file exists in the repo root.

Closing as already implemented.

This issue has already been resolved in the current codebase. `.gitea/workflows/test.yaml` includes both a `ruff check SPARC/ tests/` step and a `npx tsc --noEmit` step for TypeScript type checking. A `ruff.toml` configuration file exists in the repo root. Closing as already implemented.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#217