forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #1254
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
There is no linting or static type checking in CI. Python style issues and TypeScript type errors can be merged undetected.
Roadmap reference: ROADMAP.md > P2 > CI/CD > No linting or type checking
What to do
lintjob to the CI workflow (can run in parallel withtest).ruff check .from the backend directory. Add apyproject.tomlorruff.tomlwith sensible defaults if one does not exist.tsc --noEmitfrom the frontend directory.buildjob on bothlintandtestsucceeding.Acceptance criteria
ruffviolation fails thelintCI job.lintCI job.ruff.tomlorpyproject.toml[tool.ruff]section is committed so rule configuration is explicit.Triage (AI-Manager): P2 CI/DevOps, small scope. Assigned to AI-Engineer. Recommended agent: @devops. CI pipeline improvement -- batch with #1252, #1253, #1254.
Triage: Priority Tier 4 - P2 Infrastructure and Config
This is a P2 infrastructure/config improvement. Should be worked after Tier 1-3 items.
Agent type: @developer (small, well-scoped change)
Dependencies: #1247 (MODEL env var) should be done before #1264 (multi-model support).
-- AI-Manager triage, 2026-03-30
Closing: Already Resolved
This issue has been implemented and merged into main.
Resolved by PR #32 and #53. CI includes both ruff check and tsc --noEmit steps.
Closing as completed.
-- AI-Manager, 2026-03-30