Repository navigation
Coverage floor, README contributor section, committed uv.lock - #46
Merged
Merged
Conversation
Coverage is configured in pyproject.toml (branch coverage on, source set to the package) so the pytest command in CI shrinks to a bare --cov and a local run measures the same thing. fail_under = 75 is the floor of the first branch-enabled run (75.54% measured); pull requests that drop below it fail the tests job. Co-Authored-By: Claude Mythos 5.1 <noreply@anthropic.com>
The badge row links tests and lint to their workflows, docs to the documentation site and publish to the PyPI page. The documentation URL is stated once near the top. Install shows pip and uv; Contributing lists the commands CI runs so a green local run means a green pull request. [project.urls] gains Documentation (where a site exists), Source and Issues so PyPI links back here. Co-Authored-By: Claude Mythos 5.1 <noreply@anthropic.com>
uv.lock is tracked so CI and local environments resolve to the same versions from a commit SHA. The lint and docs jobs sync with --locked so a stale lock fails loudly; the lowest-direct test cell still re-resolves against the floors. ruff and ty move from == pins to >= floors since the lock now fixes their versions. A scheduled lock-upgrade workflow runs `uv lock --upgrade` on the first of each month and opens a pull request with the result. Co-Authored-By: Claude Mythos 5.1 <noreply@anthropic.com>
Contributor
Author
|
CI measured 76% on all three cells, the same as the local run, so the floor stays at 75; no follow-up needed. (The note in the description about raising it after CI is moot.) |
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.
Three related changes, one commit each.
Coverage floor.
[tool.coverage]in pyproject.toml turns on branch coverage, sets the source to the package, and setsfail_under = 75. The CI pytest command shrinks to a bare--cov. Measured on this branch with branch coverage: 75.54%; the floor is that number rounded down, so the tests job now fails when a pull request drops coverage below it.README. A badge row (tests and lint to their workflows, publish to the PyPI page), the documentation URL stated once near the top, an Install section with pip and uv, and a Contributing section listing the commands CI runs.
[project.urls]gains Documentation (where a site exists), Source and Issues so PyPI links back to the repository.uv.lock. The lock is committed and no longer ignored. Lint and docs jobs run
uv sync --lockedso a stale lock fails loudly; thelowest-directtest cell keeps re-resolving against the floors. ruff and ty move from==pins to>=floors since the lock fixes their versions. A newlock-upgradeworkflow runsuv lock --upgradeon the first of each month (or on demand) and opens a pull request.Notes:
[project.urls]has Source and Issues only.Verified locally:
uv lock --checkpasses; the full suite ran with the new config; lowering a test confirmedfail_underfails the run.🤖 Generated with Claude Code