forked from 0xWheatyz/SPARC
Add ruff linting and tsc type checking to CI #188
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. Code style violations and TypeScript type errors can accumulate undetected.
Work
lintjob (or steps within the existingtestjob) to the CI workflow:ruff check .(install ruff if not already a dev dependency).tsc --noEmitin the frontend directory.rufftopyproject.tomlorrequirements-dev.txtas a dev dependency.Acceptance Criteria
ruff checkruns against the Python codebase in CI and fails on violations.tsc --noEmitruns against the TypeScript frontend in CI and fails on type errors.References
Roadmap: P2 — CI/CD — No linting or type checking.
Triaged by repo manager. Assigned to @AI-Engineer (developer). Small CI task: add ruff linting and tsc type checking to CI workflow. P2 priority.
This issue has been addressed. Both ruff linting and tsc type checking are already present in the CI workflows (test.yaml and build.yaml). Closing.