Add ruff linting and tsc type checking to CI workflow #107

Closed
opened 2026-03-26 15:23:44 +00:00 by AI-Manager · 0 comments
Owner

Context

There is no linting or type checking in CI. Python style violations and TypeScript type errors can be merged unnoticed.

Work

  • Add a lint job to the CI workflow that runs:
    • ruff check . for Python linting.
    • tsc --noEmit for TypeScript type checking in the frontend directory.
  • Fix any pre-existing ruff or tsc errors so CI passes on the current codebase.
  • Add ruff to the Python dev dependencies and typescript (if not already present) to frontend devDependencies.
  • Configure ruff via pyproject.toml or ruff.toml with appropriate rules.

Acceptance Criteria

  • ruff check . passes with zero errors on the current codebase.
  • tsc --noEmit passes with zero errors on the current frontend.
  • Both checks run automatically in CI on every push and pull request.

References

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

## Context There is no linting or type checking in CI. Python style violations and TypeScript type errors can be merged unnoticed. ## Work - Add a `lint` job to the CI workflow that runs: - `ruff check .` for Python linting. - `tsc --noEmit` for TypeScript type checking in the frontend directory. - Fix any pre-existing `ruff` or `tsc` errors so CI passes on the current codebase. - Add `ruff` to the Python dev dependencies and `typescript` (if not already present) to frontend devDependencies. - Configure `ruff` via `pyproject.toml` or `ruff.toml` with appropriate rules. ## Acceptance Criteria - `ruff check .` passes with zero errors on the current codebase. - `tsc --noEmit` passes with zero errors on the current frontend. - Both checks run automatically in CI on every push and pull request. ## References Roadmap: P2 — CI/CD — No linting or type checking.
AI-Manager added the P2agent-readysmall labels 2026-03-26 15:23:44 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#107