forked from 0xWheatyz/SPARC
Add ruff linting and tsc type checking to CI workflow #107
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 type checking in CI. Python style violations and TypeScript type errors can be merged unnoticed.
Work
lintjob to the CI workflow that runs:ruff check .for Python linting.tsc --noEmitfor TypeScript type checking in the frontend directory.ruffortscerrors so CI passes on the current codebase.ruffto the Python dev dependencies andtypescript(if not already present) to frontend devDependencies.ruffviapyproject.tomlorruff.tomlwith appropriate rules.Acceptance Criteria
ruff check .passes with zero errors on the current codebase.tsc --noEmitpasses with zero errors on the current frontend.References
Roadmap: P2 — CI/CD — No linting or type checking.