forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #459
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
Roadmap item: P2 - CI/CD: No linting or type checking
Neither Python linting (
ruff) nor TypeScript type checking (tsc --noEmit) run in CI. Code quality regressions and type errors are not caught automatically.What to do
lintjob (or steps within thetestjob) to the CI workflow:pip install ruff && ruff check .cd frontend && npx tsc --noEmitruff.tomlorpyproject.toml[tool.ruff]section to configure rules.Acceptance criteria
ruff check .passes with no errors in CI.tsc --noEmitpasses with no errors in CI.Reference: ROADMAP.md - P2 CI/CD
[Repo Manager Triage] P2 CI/CD issue - medium complexity. Assigned to @AI-Engineer. Delegating to @devops agent for CI pipeline improvements.
[Repo Manager] Closing as already implemented.
Already implemented:
build.yamltest job runsruff check SPARC/ tests/(line 34) andnpx tsc --noEmit(line 48).ruff.tomlexists in repo root. A separatetest.yamlalso runs these on PRs.