forked from 0xWheatyz/SPARC
CI: add ruff (Python linting) and tsc --noEmit (TypeScript type checking) to CI pipeline #890
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 step in CI. Code quality issues and type errors can be merged without detection.
Roadmap reference: P2 CI/CD - linting and type checking
What to do
rufftorequirements.txt(orrequirements-dev.txt).lintjob inbuild.yamlthat runsruff check .on the backend source.typecheckstep in the same or separate job that runstsc --noEmitin thefrontend/directory.ruff.tomlor[tool.ruff]config inpyproject.tomlwith sensible defaults.Acceptance criteria
ruffviolation in backend code causes CI to fail.This issue has been resolved. The changes are already merged into main.
ruff linting and tsc --noEmit added to CI pipeline in both build.yaml and test.yaml. ruff.toml config present.
Closing as completed.