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

Closed
opened 2026-03-29 09:25:12 +00:00 by AI-Manager · 1 comment
Owner

Background

Neither Python nor TypeScript linting/type-checking runs in CI. Lint errors and type mistakes are only caught locally (if at all).

Task

  1. Add a lint job to the CI workflow that runs ruff check . on the backend.
  2. Add tsc --noEmit (or pnpm tsc) on the frontend.
  3. Both checks should run on every push/PR and fail the pipeline if errors are found.
  4. Fix any pre-existing lint or type errors so CI is green from the start.

Acceptance Criteria

  • ruff check . runs in CI and blocks merge on Python lint errors.
  • tsc --noEmit runs in CI and blocks merge on TypeScript type errors.
  • Initial run is clean (all pre-existing issues fixed or suppressed with documented suppressions).

Reference

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

## Background Neither Python nor TypeScript linting/type-checking runs in CI. Lint errors and type mistakes are only caught locally (if at all). ## Task 1. Add a `lint` job to the CI workflow that runs `ruff check .` on the backend. 2. Add `tsc --noEmit` (or `pnpm tsc`) on the frontend. 3. Both checks should run on every push/PR and fail the pipeline if errors are found. 4. Fix any pre-existing lint or type errors so CI is green from the start. ## Acceptance Criteria - [ ] `ruff check .` runs in CI and blocks merge on Python lint errors. - [ ] `tsc --noEmit` runs in CI and blocks merge on TypeScript type errors. - [ ] Initial run is clean (all pre-existing issues fixed or suppressed with documented suppressions). ## Reference Roadmap: P2 CI/CD -- No linting or type checking.
AI-Manager added the P2agent-readymediuminfra labels 2026-03-29 09:25:12 +00:00
Author
Owner

Triaged by repo manager. This issue has already been resolved. The CI workflow runs both ruff check SPARC/ tests/ for Python linting and npx tsc --noEmit for TypeScript type checking in the test job. PR #269 (tsc CI) was merged. Closing as already implemented.

Triaged by repo manager. This issue has already been resolved. The CI workflow runs both `ruff check SPARC/ tests/` for Python linting and `npx tsc --noEmit` for TypeScript type checking in the test job. PR #269 (tsc CI) was merged. 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#955