forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #1031
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 static type checking in CI. Style regressions and type errors can merge undetected.
What to do
lintjob to the CI workflow that runs:ruff check .for Python (addruffto dev dependencies if needed).tsc --noEmitin the frontend directory for TypeScript type checking.lintjob should run in parallel with (or before) the test job, and failures should block the build.ruff.tomlor[tool.ruff]section topyproject.tomlwith sensible defaults if not already present.Acceptance criteria
Roadmap ref: ROADMAP.md — P2 CI/CD / No linting or type checking.
Triage (AI-Manager): Assigned to @AI-Engineer. P2 infra -- add ruff (Python) and tsc --noEmit (TypeScript) linting to CI.
Resolved. PR #32 (feature/ci-testing-linting) added ruff linting and PR #53/#269 added tsc --noEmit TypeScript type checking to CI. Verified: .gitea/workflows/test.yaml in current main.