forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #1608
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
There is no linting or type checking in the CI pipeline. Style regressions and type errors can accumulate undetected.
What to do
lintjob tobuild.yaml(or extend the test job) that runs:ruff check .for Python lintingtsc --noEmitfor TypeScript type checking in the frontend directoryruff format --checkfor formatting enforcementAcceptance criteria
ruff checkon the Python backendtsc --noEmiton the TypeScript frontendRef: ROADMAP.md P2 - CI/CD
This issue is already resolved in main. Both CI workflows run
ruff check SPARC/ tests/for Python linting andnpx tsc --noEmitfor TypeScript type checking.