forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #675
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. Style regressions and type errors can be introduced undetected.
What to do
lintjob (or extend thetestjob) that runs:ruff check .on the Python backend.tsc --noEmiton the TypeScript frontend.lintjob runs on every push and pull request.ruff format --checkto enforce consistent formatting.Acceptance criteria
ruff check .exits 0 with no errors in CI.tsc --noEmitexits 0 with no type errors in CI.References
Roadmap item: P2 CI/CD — no linting or type checking.
Triage: Already implemented
This issue has been fully addressed in the fork main branch.
Verification:
.gitea/workflows/test.yamlrunsruff check SPARC/ tests/(line 35) andtsc --noEmit(line 56).All acceptance criteria are met. Closing.