forked from 0xWheatyz/SPARC
CI: add ruff (Python) and tsc --noEmit (TypeScript) linting to Gitea Actions #369
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?
Problem
There is no automated linting or type checking in CI. Style regressions and type errors are only caught during code review (if at all).
Work
lintjob to the CI workflow (or extend thetestjob added in #368) that:ruff check .on the Python backend.tsc --noEmiton the TypeScript frontend.ruffto the backend dev/CI dependencies (e.g.,requirements-dev.txtor as a CI install step).ruffortscerrors in the codebase (or configure appropriate rule exclusions and document why).Acceptance Criteria
ruff checkreports any errors.tsc --noEmitreports any type errors.Reference
Roadmap item: P2 CI/CD — No linting or type checking.
Related: leeworks-agents/SPARC#368.
[Triage] Already implemented in main. Both CI workflows include ruff check and tsc --noEmit steps. Closing as resolved.