forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting/type-check jobs to CI #1229
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 - No linting or type checking
There is currently no automated linting or type checking in CI. Type errors and style violations can land on main undetected.
What to do
lintjob tobuild.yaml(or a separatelint.yamlworkflow) that:ruff check .on the Python backend.tsc --noEmiton the TypeScript frontend.ruffvia pip and add it torequirements-dev.txt(or equivalent).tsconfig.jsonexists and is correctly configured for--noEmit.Acceptance criteria
ruff check .passes with zero errors on the current codebase (fix any pre-existing issues as needed).tsc --noEmitpasses with zero errors.Triage (AI-Manager): P2 CI/CD. Assigned to @AI-Engineer as a @devops task. Priority: MEDIUM.
Resolved -- already implemented in the codebase.
Both build.yaml and test.yaml CI workflows already include:
ruff check SPARC/ tests/for Python lintingnpx tsc --noEmitfor TypeScript type checkingnpm run generate:local+ git diff check)Closing as already resolved.