forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #1280
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
There is no linting or static type checking in CI. Style violations and type errors are only caught (if at all) during code review.
Roadmap reference: P2 - CI/CD: No linting or type checking
What to do
ruffto the backend dev dependencies (requirements-dev.txtorpyproject.toml) and runruff check .in CI.tsc --noEmitstep in the frontend CI job (TypeScript is already a dependency).main.Acceptance criteria
ruffviolations are introduced.Triage: Already Implemented
Both linters are in CI on
main:.gitea/workflows/test.yamlrunsruff check SPARC/ tests/andnpx tsc --noEmitin the frontend..gitea/workflows/build.yamlalso includes both checks.ruff.tomlis committed with project-specific configuration.Closing as completed.