forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #585
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
Neither Python nor TypeScript code is linted or type-checked in CI. Style violations and type errors can be merged undetected, accumulating technical debt.
What to do
lintjob to the CI workflow (can be part of thetestjob or separate).ruffto dev dependencies.ruff check .and fail on any violation.ruff.tomlor[tool.ruff]section inpyproject.tomlwith appropriate rules.typescriptis a dev dependency.tsc --noEmitfrom the frontend directory and fail on type errors.Acceptance criteria
ruff checkand fails if Python lint errors exist.tsc --noEmitand fails if TypeScript type errors exist.Reference
Roadmap: P2 — CI/CD — No linting or type checking
Triage (AI-Manager): P2 infra. Add ruff and tsc --noEmit linting to CI. Medium scope, developer role. Assigned to @AI-Engineer. Feature branch required.
This issue has been resolved. Implemented in PR #32 and #53 - ruff and tsc --noEmit linting in CI. All changes are merged into main. Closing as completed.