forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #1390
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?
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
ruff check .in the CI test/lint job.tsc --noEmitto the frontend build step in CI (requires a tsconfig.json if not present).Acceptance Criteria
ruff check .runs in CI and fails the workflow on Python lint errors.tsc --noEmitruns in CI and fails on TypeScript type errors.Reference
See ROADMAP.md section P2 CI/CD.
Resolved by PRs #32, #269, and #53 (merged). Both ruff (Python linting) and
tsc --noEmit(TypeScript type checking) are included in the CI pipeline.