forked from 0xWheatyz/SPARC
Add ruff linting and tsc type checking to CI #320
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 — linting and type checking
There is no automated linting or type checking. Style regressions and type errors go undetected until runtime.
Work Required
rufftorequirements.txt(or a dev-requirements file)lintstep to the CI workflow that runsruff check .on the backend sourcetypecheckstep that runstsc --noEmiton the frontend sourceruff.tomlorpyproject.toml[tool.ruff]section with a sensible baseline config (e.g.,select = ["E", "F"])Acceptance Criteria
ruff check .passes on the current codebase (fix any pre-existing violations as part of this issue)tsc --noEmitpasses on the current frontend sourceThis issue has already been resolved in the fork's main branch. Already implemented in PR #32 and #53/#269. See .gitea/workflows/test.yaml ruff and tsc steps.
Closing as completed.