forked from 0xWheatyz/SPARC
Add ruff (Python linting) and tsc --noEmit (TypeScript type checking) to CI #1537
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 code style issues and TypeScript type errors go undetected until runtime.
Roadmap reference: ROADMAP.md > P2 > CI/CD > No linting or type checking
What to do
ruffto Python dev dependencies and create aruff.tomlorpyproject.tomlconfiglintstep in the CI workflow that runsruff check .typecheckstep that runstsc --noEmitfrom the frontend directoryAcceptance criteria
ruff check .passes on the current Python codebasetsc --noEmitpasses on the current TypeScript codebaseTriage review: Resolved: Both CI workflows include ruff check and tsc --noEmit steps. Closing as already complete.