Add MIT LICENSE and Codecov coverage badge#5
Merged
Conversation
- LICENSE: MIT (Copyright 2026 Grammy Jiang), declared in pyproject via the PEP 639 `license = "MIT"` + `license-files`, with a [build-system] pinning setuptools>=77 so the SPDX form is honored. - CI uploads coverage.xml to Codecov from the 3.12 job only (public-repo tokenless, honors CODECOV_TOKEN if set; fail_ci_if_error=false keeps the build green whether or not Codecov is wired up yet). - README: add License (MIT) and codecov badges to the status row. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fd4FtxJFV2fVSSoD7urqqn
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.
What
LICENSEfile (Copyright 2026 Grammy Jiang), declared inpyproject.tomlvia the PEP 639license = "MIT"+license-files, with a[build-system]pinningsetuptools>=77so the SPDX form is honored (verified: metadata resolves toLicense-Expression: MIT).coverage.xmlto Codecov (from the 3.12 job only).fail_ci_if_error: falsekeeps the build green whether or not Codecov is wired up yet;CODECOV_TOKENis honored if set, and public-repo tokenless upload is attempted otherwise.Note on the coverage badge
The repo is public, so the first successful upload (this PR's / the next
masterrun's 3.12 job) auto-onboards the project and the badge populates. If it stays unknown, add aCODECOV_TOKENrepo secret from codecov.io — I can walk through that.Verified locally
pip install -e .builds cleanly with the license metadata.coverage.xmlgenerates (85.25%); the coverage floor (fail_under=80) still passes.🤖 Generated with Claude Code
https://claude.ai/code/session_01Fd4FtxJFV2fVSSoD7urqqn
Generated by Claude Code