forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #700
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 item: P2 CI/CD - linting and type checking
There is no linting or static type checking in CI. Style violations and type errors can be merged undetected.
Work to do
ruff check .to the backend test/lint CI job (installruffin the job dependencies)tsc --noEmitstep to a frontend lint CI job (ensuretypescriptis indevDependencies)ruffortscviolations before merging (or use# noqa/@ts-ignoresparingly with justification)Acceptance criteria
ruffandtsc --noEmitrun in CI and fail the workflow on errorsClosing as already implemented. ruff (Python) and tsc --noEmit (TypeScript) linting were added to CI in PR #32 (feature/ci-testing-linting), PR #53 (feature/ci-tsc-lint), and PR #269 (feature/260-tsc-ci).