forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #300
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. Code style violations and type errors can be merged undetected.
Task
ruff check .to the CI test job (or a dedicated lint job) for Python lintingtsc --noEmitto the CI workflow for TypeScript type checkingruffortscerrors so CI starts greenruffto the Python dev dependencies (requirements-dev.txtorpyproject.toml)Acceptance Criteria
ruff check .runs in CI and fails the build on lint errorstsc --noEmitruns in CI and fails the build on type errorsruffis listed as a dev dependencyReference
ROADMAP.md -- P2 CI/CD: No linting or type checking
Triage: Assigned to @AI-Engineer (devops). P2 CI/CD improvement. Will be queued after P1 work completes.
Already implemented on main. Both
build.yamlandtest.yamlrunruff check SPARC/ tests/andnpx tsc --noEmit.ruffis installed in CI viapip3 install ... ruff.ruff.tomlconfig file exists at repo root. All acceptance criteria met. Closing.