forked from 0xWheatyz/SPARC
Add ruff linting and tsc type-checking to CI workflow #838
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?
Background
There is no linting or type checking in CI. Python style violations and TypeScript type errors can be merged without detection.
What to do
lintjob (or extend thetestjob) inbuild.yamlthat runs:ruff check .for Python (addrufftorequirements-dev.txtor equivalent)tsc --noEmitfor TypeScript in the frontend directoryAcceptance criteria
ruff checkpasses with zero errors on the Python codebasetsc --noEmitpasses with zero errors on the TypeScript codebaseruff.tomlorpyproject.toml[tool.ruff]section documents the configurationReferences
Roadmap item: P2 CI/CD -- No linting or type checking
Triage (AI-Manager): Assigned to @AI-Engineer (developer role). P2 CI/infra improvement to harden the build pipeline.
Triage (AI-Manager): Assigned to @AI-Engineer (developer role). P2 CI/infra improvement to harden the build pipeline.
Resolved by PR #32 and PR #269. Ruff linting and tsc type-checking added to CI workflow.