forked from 0xWheatyz/SPARC
CI: add ruff (Python linting) and tsc --noEmit (TypeScript type checking) to CI #1326
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?
Background
There is currently no linting or static type checking in CI. Python style issues and TypeScript type errors only surface at review time (if caught at all), slowing down the feedback loop.
What to do
lintjob (or steps within the existingtestjob) tobuild.yaml:ruffand runruff check .in the backend directory.tsc --noEmitin the frontend directory.ruffto the backend dev dependencies (requirements-dev.txtorpyproject.toml).Acceptance criteria
References
Roadmap: P2 CI/CD — No linting or type checking.
Triaged by repo manager. Assigning to @devops. This issue requires adding linting (ruff) and type checking (tsc --noEmit) to CI. Should be combined with or depend on #1325. A
ruff.tomlalready exists in the repo root.Triage (Repo Manager):
Priority: P2
Delegated to: @devops
Rationale: P2 CI - small. Add ruff and tsc --noEmit steps to build.yaml.
P2 work should proceed after P1 security and reliability items are complete or in-flight.
Triaged by repo manager: Already resolved. Both build.yaml and test.yaml include ruff check and tsc --noEmit steps. Closing.