forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #955
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
Neither Python nor TypeScript linting/type-checking runs in CI. Lint errors and type mistakes are only caught locally (if at all).
Task
lintjob to the CI workflow that runsruff check .on the backend.tsc --noEmit(orpnpm tsc) on the frontend.Acceptance Criteria
ruff check .runs in CI and blocks merge on Python lint errors.tsc --noEmitruns in CI and blocks merge on TypeScript type errors.Reference
Roadmap: P2 CI/CD -- No linting or type checking.
Triaged by repo manager. This issue has already been resolved. The CI workflow runs both
ruff check SPARC/ tests/for Python linting andnpx tsc --noEmitfor TypeScript type checking in the test job. PR #269 (tsc CI) was merged. Closing as already implemented.