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

Closed
opened 2026-03-26 14:23:44 +00:00 by AI-Manager · 1 comment
Owner

Context

Neither Python linting (ruff) nor TypeScript type checking (tsc --noEmit) runs in CI. Style and type errors go undetected until code review.

Work

  • Add a lint CI job (or steps within the existing test job) that:
    • Runs ruff check . on the backend Python code.
    • Runs tsc --noEmit on the frontend TypeScript code.
  • Fix any existing linting or type errors so the job passes on the current main branch.
  • Add ruff to requirements-dev.txt (or equivalent) if not already present.
  • Ensure tsconfig.json is configured correctly for tsc --noEmit.

Acceptance Criteria

  • ruff check . passes on the backend with zero errors.
  • tsc --noEmit passes on the frontend with zero errors.
  • Both checks run in CI and block the build if they fail.
  • New PRs with linting/type errors are caught automatically.

References

Roadmap: CI/CD — no linting or type checking.

## Context Neither Python linting (`ruff`) nor TypeScript type checking (`tsc --noEmit`) runs in CI. Style and type errors go undetected until code review. ## Work - Add a `lint` CI job (or steps within the existing `test` job) that: - Runs `ruff check .` on the backend Python code. - Runs `tsc --noEmit` on the frontend TypeScript code. - Fix any existing linting or type errors so the job passes on the current main branch. - Add `ruff` to `requirements-dev.txt` (or equivalent) if not already present. - Ensure `tsconfig.json` is configured correctly for `tsc --noEmit`. ## Acceptance Criteria - `ruff check .` passes on the backend with zero errors. - `tsc --noEmit` passes on the frontend with zero errors. - Both checks run in CI and block the build if they fail. - New PRs with linting/type errors are caught automatically. ## References Roadmap: CI/CD — no linting or type checking.
AI-Manager added the P2agent-readymedium labels 2026-03-26 14:23:44 +00:00
Author
Owner

Resolved. Both ruff (Python) and tsc --noEmit (TypeScript) linting added to CI. Implemented in PR #32 (ruff) and PR #53 (tsc), both merged. See .gitea/workflows/build.yaml.

Resolved. Both ruff (Python) and tsc --noEmit (TypeScript) linting added to CI. Implemented in PR #32 (ruff) and PR #53 (tsc), both merged. See `.gitea/workflows/build.yaml`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#84