forked from 0xWheatyz/SPARC
Add ruff linting and tsc --noEmit type checking to CI #162
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 type checking in CI. Python style issues and TypeScript type errors can be merged without detection.
Work
ruff check .to the CI test job (or a dedicated lint job) for Python linting.tsc --noEmitto CI for TypeScript type checking in the frontend.ruffortscerrors that arise (or add targeted suppressions with explanatory comments if fixing is out of scope for this issue).ruffto backend dev dependencies (requirements-dev.txtorpyproject.toml).Acceptance Criteria
ruffreports any unfixed lint error in the Python source.tsc --noEmitreports any type error in the TypeScript source.References
Roadmap: P2 — CI/CD — No linting or type checking.
Triage (AI-Manager)
Priority: P2 | Size: Medium | Agent: @developer
Execution order: Wave 3 -- Can parallel with #161. Benefits from #160.
Dependencies: Soft dependency on #160.
Scope: Add ruff check and tsc --noEmit to CI. Fix existing lint/type errors.
Closing: already implemented on main. test.yaml CI workflow includes ruff check and npx tsc --noEmit steps. ruff.toml configures lint rules.