forked from 0xWheatyz/SPARC
Add ruff (Python) and tsc --noEmit (TypeScript) linting to CI #506
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
Neither Python nor TypeScript code is linted or type-checked in CI. This allows style violations, common bugs, and type errors to accumulate undetected.
Task
lintjob to the Gitea Actions workflow with two steps:pip install ruff && ruff check .for Pythontsc --noEmitfor TypeScript (using the existingtsconfig.json)ruffso the job starts clean (or add# noqasuppressions with justification for any intentional exceptions)Acceptance Criteria
ruff check .passes with zero errors in CItsc --noEmitpasses with zero errors in CITriage: P2 CI/CD. Assigned to @AI-Engineer (devops). Medium scope - add ruff and tsc --noEmit linting jobs to CI workflow. Delegated to @devops agent.
Resolved: Both ruff check (Python) and tsc --noEmit (TypeScript) are included in the CI workflow at .gitea/workflows/test.yaml. Merged via PRs #53 and #269.
Closing as resolved -- the implementation is merged into main.