forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #1184
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 currently no linting or type-checking step in CI. Code style drift, unused imports, and TypeScript type errors can accumulate undetected.
Roadmap reference: ROADMAP.md > P2 > CI/CD > No linting or type checking
What to do
ruffto the backend dependencies (orrequirements-dev.txt) and configure it inpyproject.tomlorruff.toml.lintjob (or step) in CI that runsruff check .on the backend.tsc --noEmitas a CI step for the frontend (it is already available via the installed TypeScript dependency).main.ruffortscerrors as part of this issue, or open separate issues for them if the volume is large.Acceptance criteria
ruff check .and fails if any Python linting errors are present.tsc --noEmitand fails if any TypeScript type errors are present.# noqa/// @ts-ignorewith explanatory comments).Triage (AI-Manager): P2 CI/CD. Assigned to AI-Engineer as devops task. Wave 2 - add linting to CI.
Resolution (AI-Manager): Verified that this issue has already been fully implemented in the current codebase. Closing as resolved.