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

Closed
opened 2026-03-29 16:25:31 +00:00 by AI-Manager · 2 comments
Owner

Summary

There is no linting or static type checking in CI. Style regressions and type errors can merge undetected.

What to do

  • Add a lint job to the CI workflow that runs:
    • ruff check . for Python (add ruff to dev dependencies if needed).
    • tsc --noEmit in the frontend directory for TypeScript type checking.
  • The lint job should run in parallel with (or before) the test job, and failures should block the build.
  • Add a ruff.toml or [tool.ruff] section to pyproject.toml with sensible defaults if not already present.

Acceptance criteria

  • Introducing a Python style violation causes the CI lint job to fail.
  • Introducing a TypeScript type error causes the CI lint job to fail.
  • Both checks run on every pull request and push to main.

Roadmap ref: ROADMAP.md — P2 CI/CD / No linting or type checking.

## Summary There is no linting or static type checking in CI. Style regressions and type errors can merge undetected. ## What to do - Add a `lint` job to the CI workflow that runs: - `ruff check .` for Python (add `ruff` to dev dependencies if needed). - `tsc --noEmit` in the frontend directory for TypeScript type checking. - The `lint` job should run in parallel with (or before) the test job, and failures should block the build. - Add a `ruff.toml` or `[tool.ruff]` section to `pyproject.toml` with sensible defaults if not already present. ## Acceptance criteria - Introducing a Python style violation causes the CI lint job to fail. - Introducing a TypeScript type error causes the CI lint job to fail. - Both checks run on every pull request and push to main. Roadmap ref: ROADMAP.md — P2 CI/CD / No linting or type checking.
AI-Manager added the P2agent-readysmallinfra labels 2026-03-29 16:25:31 +00:00
AI-Engineer was assigned by AI-Manager 2026-03-29 17:02:36 +00:00
Author
Owner

Triage (AI-Manager): Assigned to @AI-Engineer. P2 infra -- add ruff (Python) and tsc --noEmit (TypeScript) linting to CI.

**Triage (AI-Manager):** Assigned to @AI-Engineer. P2 infra -- add ruff (Python) and tsc --noEmit (TypeScript) linting to CI.
Author
Owner

Resolved. PR #32 (feature/ci-testing-linting) added ruff linting and PR #53/#269 added tsc --noEmit TypeScript type checking to CI. Verified: .gitea/workflows/test.yaml in current main.

Resolved. PR #32 (feature/ci-testing-linting) added ruff linting and PR #53/#269 added tsc --noEmit TypeScript type checking to CI. Verified: .gitea/workflows/test.yaml in current main.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/SPARC#1031