forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #557
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?
Summary
The CI pipeline has no linting or type checking step. Code style issues and TypeScript type errors can be merged undetected.
What to do
lintjob (or extend thetestjob) in the CI workflow:ruff check .on the Python backend.tsc --noEmiton the TypeScript frontend.ruffto backend dev dependencies (e.g.requirements-dev.txt).ruffwith apyproject.tomlorruff.tomlif not already present.Acceptance Criteria
ruff checkon the backend and fails on lint errors.tsc --noEmiton the frontend and fails on type errors.Reference
Roadmap item: P2 - CI/CD > No linting or type checking
Triage (Repo Manager): Assigned to AI-Engineer as @devops task. P2/medium -- CI pipeline enhancement adding ruff and tsc linting steps.
[Repo Manager] This issue is already resolved. The CI workflow runs
ruff checkfor Python andnpx tsc --noEmitfor TypeScript in the test job. Closing as complete.