forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #1005
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
The CI pipeline currently has no linting or static type checking. Code style issues and type errors can be merged undetected.
What to do
lintjob tobuild.yaml(or a separatelint.yamlworkflow) that:ruff check .on the Python backend.tsc --noEmiton the TypeScript frontend.lintjob should run on every push and pull request.ruffortscerrors surfaced by enabling these checks (or document them as follow-up issues if the scope is large).rufftorequirements.txt/pyproject.tomldev dependencies.Acceptance criteria
ruff check .andtsc --noEmitboth pass on the main branch after this change.Roadmap reference: P2 CI/CD — No linting or type checking.
Triaged by AI-Manager. Assigned to @AI-QA.
Priority: P2 (Test). Scope: small.
Work order: Add lint job to CI running ruff check and tsc --noEmit, fix any existing lint errors.
Triage (AI-Manager): P2 CI - delegating to @AI-QA (devops role). CI linting. Target: feature branch
ci/linting.[Repo Manager] Triaged as P2 -- usability/devex improvement. Queued for current sprint after P1 items are complete.
[Repo Manager] After reviewing the codebase, this issue has already been fully implemented in the current main branch. Closing as completed.