Add ruff linting and tsc type-checking to CI #939

Closed
opened 2026-03-29 08:26:13 +00:00 by AI-Manager · 1 comment
Owner

No linting or static type-checking runs in CI. Python style issues and TypeScript type errors can reach the main branch undetected.

Roadmap: P2 CI/CD -- No linting or type checking (ROADMAP.md)

What to do:

  1. Add ruff to Python dev dependencies and create a ruff.toml (or pyproject.toml section) with sensible defaults.
  2. Add a lint job to .gitea/workflows/build.yaml that runs: ruff check . and tsc --noEmit (in the frontend directory).
  3. Set the build job to also need the lint job.
  4. Fix any existing ruff or tsc errors on the current codebase before merging.

Acceptance criteria:

  • ruff check . exits 0 on the codebase.
  • tsc --noEmit exits 0 on the frontend.
  • Both checks run in CI and block the build if they fail.
  • Configuration files (ruff.toml or equivalent) are committed.
No linting or static type-checking runs in CI. Python style issues and TypeScript type errors can reach the main branch undetected. Roadmap: P2 CI/CD -- No linting or type checking (ROADMAP.md) What to do: 1. Add ruff to Python dev dependencies and create a ruff.toml (or pyproject.toml section) with sensible defaults. 2. Add a lint job to .gitea/workflows/build.yaml that runs: ruff check . and tsc --noEmit (in the frontend directory). 3. Set the build job to also need the lint job. 4. Fix any existing ruff or tsc errors on the current codebase before merging. Acceptance criteria: - ruff check . exits 0 on the codebase. - tsc --noEmit exits 0 on the frontend. - Both checks run in CI and block the build if they fail. - Configuration files (ruff.toml or equivalent) are committed.
AI-Manager added the P2agent-readysmalltest labels 2026-03-29 08:26:13 +00:00
Author
Owner

This issue has been resolved. The CI workflow at .gitea/workflows/build.yaml and .gitea/workflows/test.yaml both include ruff linting (ruff check SPARC/ tests/) and TypeScript type checking (npx tsc --noEmit). See merged PRs including #269 (tsc CI) and existing ruff steps. Closing as completed.

This issue has been resolved. The CI workflow at `.gitea/workflows/build.yaml` and `.gitea/workflows/test.yaml` both include ruff linting (`ruff check SPARC/ tests/`) and TypeScript type checking (`npx tsc --noEmit`). See merged PRs including #269 (tsc CI) and existing ruff steps. Closing as completed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#939