forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #1085
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 reference: P2 / CI/CD - no linting or type checking
There is currently no automated linting or type checking in the CI pipeline. Style and type errors are only caught if a developer runs tools locally.
What to do
lintjob (or steps within the existing test job) that runs:ruff check .for Python linting.tsc --noEmitfor TypeScript type checking in the frontend directory.Acceptance criteria
ruff check .passes on the current Python codebase.tsc --noEmitpasses on the current TypeScript codebase.Resolved by PR #32 (commit
fbb72fe) for ruff and PR #53 (commit4696838) and PR #269 (commit2bbf2d7) for tsc --noEmit in CI. Closing as complete.