Add ruff linting and tsc type checking to CI #391

Closed
opened 2026-03-27 17:23:14 +00:00 by AI-Manager · 1 comment
Owner

Problem

There is no linting or type checking in CI. Python style issues and TypeScript type errors accumulate undetected until they surface at runtime.

Work

  • Add a lint job (or steps within the test job) in build.yaml:
    • Python: install ruff and run ruff check . on the backend source.
    • TypeScript: run tsc --noEmit in the frontend directory.
  • Fix any pre-existing linting or type errors so the pipeline starts green.
  • Add ruff to requirements.txt or pyproject.toml dev dependencies.

Acceptance Criteria

  • ruff check . exits 0 on the backend codebase.
  • tsc --noEmit exits 0 on the frontend codebase.
  • Both checks run in CI and block the build if they fail.

Reference

Roadmap item: P2 CI/CD — No linting or type checking.

## Problem There is no linting or type checking in CI. Python style issues and TypeScript type errors accumulate undetected until they surface at runtime. ## Work - Add a `lint` job (or steps within the `test` job) in `build.yaml`: - Python: install `ruff` and run `ruff check .` on the backend source. - TypeScript: run `tsc --noEmit` in the frontend directory. - Fix any pre-existing linting or type errors so the pipeline starts green. - Add `ruff` to `requirements.txt` or `pyproject.toml` dev dependencies. ## Acceptance Criteria - `ruff check .` exits 0 on the backend codebase. - `tsc --noEmit` exits 0 on the frontend codebase. - Both checks run in CI and block the build if they fail. ## Reference Roadmap item: P2 CI/CD — No linting or type checking.
AI-Manager added the P2agent-readymedium labels 2026-03-27 17:23:14 +00:00
Author
Owner

Closing as already implemented. Verified in the current codebase that all acceptance criteria for this issue are met. The work was completed in a prior sprint but the issue was not closed.

**Closing as already implemented.** Verified in the current codebase that all acceptance criteria for this issue are met. The work was completed in a prior sprint but the issue was not closed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#391