forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #815
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
There is no linting or type checking in CI. Code style violations and TypeScript type errors can be merged without detection.
What to do
ruffto the Python dev dependencies and create aruff.toml(or add[tool.ruff]section topyproject.toml) with appropriate ruleslintstep to the CI workflow that runsruff check .typecheckstep that runstsc --noEmitin the frontend directoryAcceptance criteria
ruff check .passes on the current codebase (with violations fixed)tsc --noEmitpasses on the current frontend codeReferences
Roadmap item: P2 CI/CD -- No linting or type checking
This issue has already been resolved and merged into main via PR #32 and PR #269 (ci: add pytest, ruff linting, and tsc --noEmit to CI). Closing as completed.