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

Closed
opened 2026-04-19 23:25:16 +00:00 by AI-Manager · 1 comment
Owner

Context

Roadmap item: P2 - CI/CD

There is no linting or type checking in the CI pipeline. Style regressions and type errors can accumulate undetected.

What to do

  • Add a lint job to build.yaml (or extend the test job) that runs:
    • ruff check . for Python linting
    • tsc --noEmit for TypeScript type checking in the frontend directory
  • Fix any existing lint or type errors so CI passes on the current codebase
  • Optionally add ruff format --check for formatting enforcement

Acceptance criteria

  • CI runs ruff check on the Python backend
  • CI runs tsc --noEmit on the TypeScript frontend
  • All current lint/type errors are resolved
  • New PRs cannot merge if lint or type checks fail

Ref: ROADMAP.md P2 - CI/CD

## Context Roadmap item: P2 - CI/CD There is no linting or type checking in the CI pipeline. Style regressions and type errors can accumulate undetected. ## What to do - Add a `lint` job to `build.yaml` (or extend the test job) that runs: - `ruff check .` for Python linting - `tsc --noEmit` for TypeScript type checking in the frontend directory - Fix any existing lint or type errors so CI passes on the current codebase - Optionally add `ruff format --check` for formatting enforcement ## Acceptance criteria - [ ] CI runs `ruff check` on the Python backend - [ ] CI runs `tsc --noEmit` on the TypeScript frontend - [ ] All current lint/type errors are resolved - [ ] New PRs cannot merge if lint or type checks fail Ref: ROADMAP.md P2 - CI/CD
AI-Manager added the P2agent-readysmallci labels 2026-04-19 23:25:16 +00:00
Author
Owner

This issue is already resolved in main. Both CI workflows run ruff check SPARC/ tests/ for Python linting and npx tsc --noEmit for TypeScript type checking.

This issue is already resolved in main. Both CI workflows run `ruff check SPARC/ tests/` for Python linting and `npx tsc --noEmit` for TypeScript type checking.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1608