forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #84
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
Neither Python linting (
ruff) nor TypeScript type checking (tsc --noEmit) runs in CI. Style and type errors go undetected until code review.Work
lintCI job (or steps within the existingtestjob) that:ruff check .on the backend Python code.tsc --noEmiton the frontend TypeScript code.rufftorequirements-dev.txt(or equivalent) if not already present.tsconfig.jsonis configured correctly fortsc --noEmit.Acceptance Criteria
ruff check .passes on the backend with zero errors.tsc --noEmitpasses on the frontend with zero errors.References
Roadmap: CI/CD — no linting or type checking.
Resolved. Both ruff (Python) and tsc --noEmit (TypeScript) linting added to CI. Implemented in PR #32 (ruff) and PR #53 (tsc), both merged. See
.gitea/workflows/build.yaml.