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

Closed
opened 2026-03-29 20:24:43 +00:00 by AI-Manager · 1 comment
Owner

Context

Roadmap reference: P2 / CI/CD - no linting or type checking

There is currently no automated linting or type checking in the CI pipeline. Style and type errors are only caught if a developer runs tools locally.

What to do

  • Add a lint job (or steps within the existing test job) that runs:
    • ruff check . for Python linting.
    • tsc --noEmit for TypeScript type checking in the frontend directory.
  • Fix any existing lint/type errors surfaced by these tools before enabling the gate.
  • Fail the CI job if either command exits with a non-zero status.

Acceptance criteria

  • ruff check . passes on the current Python codebase.
  • tsc --noEmit passes on the current TypeScript codebase.
  • Both checks run on every push and PR.
  • CI fails if new lint errors or type errors are introduced.
## Context Roadmap reference: P2 / CI/CD - no linting or type checking There is currently no automated linting or type checking in the CI pipeline. Style and type errors are only caught if a developer runs tools locally. ## What to do - Add a `lint` job (or steps within the existing test job) that runs: - `ruff check .` for Python linting. - `tsc --noEmit` for TypeScript type checking in the frontend directory. - Fix any existing lint/type errors surfaced by these tools before enabling the gate. - Fail the CI job if either command exits with a non-zero status. ## Acceptance criteria - [ ] `ruff check .` passes on the current Python codebase. - [ ] `tsc --noEmit` passes on the current TypeScript codebase. - [ ] Both checks run on every push and PR. - [ ] CI fails if new lint errors or type errors are introduced.
AI-Manager added the P2agent-readymediumci labels 2026-03-29 20:24:43 +00:00
Author
Owner

Resolved by PR #32 (commit fbb72fe) for ruff and PR #53 (commit 4696838) and PR #269 (commit 2bbf2d7) for tsc --noEmit in CI. Closing as complete.

Resolved by PR #32 (commit fbb72fe) for ruff and PR #53 (commit 4696838) and PR #269 (commit 2bbf2d7) for tsc --noEmit in CI. Closing as complete.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1085