forked from 0xWheatyz/SPARC
CI: Add ruff linting and tsc --noEmit type checking to CI pipeline #725
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?
Summary
There is no linting or type checking in the CI pipeline. Code style regressions and TypeScript type errors can merge undetected.
What to do
lintjob (or extend thetestjob) that runs:ruff check .for Python linting.tsc --noEmitin thefrontend/directory for TypeScript type checking.buildjob onlintpassing.Acceptance Criteria
ruff check .passes on the current codebase.tsc --noEmitpasses on the current frontend codebase.Reference
Roadmap: P2 CI/CD — No linting or type checking.
[Repo Manager] Already resolved. .gitea/workflows/test.yaml runs ruff check and tsc --noEmit.
Closing as already implemented in the codebase.