Skip to content

chore(tooling): run ty in CI, coverage gate, drop legacy flake8#92

Merged
bartzbeielstein merged 1 commit into
developfrom
chore/tooling-baseline
Jun 7, 2026
Merged

chore(tooling): run ty in CI, coverage gate, drop legacy flake8#92
bartzbeielstein merged 1 commit into
developfrom
chore/tooling-baseline

Conversation

@bartzbeielstein

Copy link
Copy Markdown
Contributor

Roadmap #6 tooling baseline for spotoptim (CI here runs on PRs to main + nightly; validated on this branch via workflow_dispatch).

  • Type checker: run the already-present Astral ty in CI (non-blocking lint step); add [tool.ty]. (368 diagnostics today — informational.)
  • Coverage: add [tool.coverage] (fail_under=68, ~71% fast suite) and --cov to the fast required test gate which now enforces it.
  • Legacy lint: remove redundant .flake8 (not invoked/imported; also dropped from runtime deps) + REUSE entry; add [tool.ruff]/[tool.black]/[tool.isort] config.

Non-breaking, non-releasing (chore). Verified locally: fast suite 1637 passed, 71% coverage, ruff clean, ty runs.

Roadmap #6 tooling baseline for spotoptim:
- type checker: run the already-present Astral `ty` in CI via a non-blocking
  lint step (`ty check src/`, continue-on-error); add [tool.ty].
- coverage: add [tool.coverage] with fail_under=68 ratchet (~71% fast suite),
  and add --cov to the fast (required) test gate which now enforces it.
- legacy lint: remove redundant .flake8 (not invoked, not imported; also
  dropped from runtime deps) + REUSE.toml entry; add [tool.ruff]/[tool.black]/
  [tool.isort] config to match the spot* standard.

Non-breaking, non-releasing (chore). Promotes to main with the next release.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bartzbeielstein bartzbeielstein merged commit a707f22 into develop Jun 7, 2026
3 checks passed
@bartzbeielstein bartzbeielstein deleted the chore/tooling-baseline branch June 8, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant