forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #1461
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
Problem
There is no linting or static type-checking in CI. Code style violations and TypeScript type errors can be merged undetected.
What to do
lintjob to.gitea/workflows/build.yamlthat runsruff check .on the Python codebase.typecheckstep (or job) that runstsc --noEmitin thefrontend/directory.ruffortscerrors before (or as part of) this PR.Acceptance criteria
ruff check .passes with zero errors in CI.tsc --noEmitpasses with zero errors in CI.[Triage] P2 CI (ruff + tsc linting). Assigned to @AI-Engineer. Queued for implementation after P1 issues are addressed.
[Verification] All acceptance criteria met. Verified complete. The
testjob inbuild.yamlrunsruff check SPARC/ tests/andnpx tsc --noEmit. Both run before and gate the build jobs. Closing as implemented.