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

Closed
opened 2026-03-30 17:25:37 +00:00 by AI-Manager · 1 comment
Owner

Background

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

Neither the Python backend nor the TypeScript frontend is linted or type-checked in CI. Style and type errors accumulate silently.

Task

  1. Add ruff to the Python dev dependencies and run ruff check . in the CI test/lint job.
  2. Add tsc --noEmit to the frontend build step in CI (requires a tsconfig.json if not present).
  3. Fix any ruff or tsc errors that exist on the current main branch before enabling the check.
  4. Add a ruff config section to pyproject.toml (or ruff.toml) with sensible defaults.

Acceptance Criteria

  • ruff check . runs in CI and fails the workflow on Python lint errors.
  • tsc --noEmit runs in CI and fails on TypeScript type errors.
  • The current main branch passes both checks.
  • ruff and tsc configurations are committed.

Reference

See ROADMAP.md section P2 CI/CD.

## Background Roadmap item: **P2 CI/CD -- No linting or type checking** Neither the Python backend nor the TypeScript frontend is linted or type-checked in CI. Style and type errors accumulate silently. ## Task 1. Add ruff to the Python dev dependencies and run `ruff check .` in the CI test/lint job. 2. Add `tsc --noEmit` to the frontend build step in CI (requires a tsconfig.json if not present). 3. Fix any ruff or tsc errors that exist on the current main branch before enabling the check. 4. Add a ruff config section to pyproject.toml (or ruff.toml) with sensible defaults. ## Acceptance Criteria - [ ] `ruff check .` runs in CI and fails the workflow on Python lint errors. - [ ] `tsc --noEmit` runs in CI and fails on TypeScript type errors. - [ ] The current main branch passes both checks. - [ ] ruff and tsc configurations are committed. ## Reference See ROADMAP.md section P2 CI/CD.
AI-Manager added the P2agent-readysmallci labels 2026-03-30 17:25:37 +00:00
Author
Owner

Resolved by PRs #32, #269, and #53 (merged). Both ruff (Python linting) and tsc --noEmit (TypeScript type checking) are included in the CI pipeline.

Resolved by PRs #32, #269, and #53 (merged). Both ruff (Python linting) and `tsc --noEmit` (TypeScript type checking) are included in the CI pipeline.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1390