chore(tooling): run ty in CI, coverage gate, drop legacy flake8#92
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Roadmap #6 tooling baseline for spotoptim (CI here runs on PRs to main + nightly; validated on this branch via workflow_dispatch).
tyin CI (non-blocking lint step); add[tool.ty]. (368 diagnostics today — informational.)[tool.coverage](fail_under=68, ~71% fast suite) and--covto the fast required test gate which now enforces it..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.