🔧 copier: update package template to v0.16.0#29
Merged
Conversation
Enforce the leading-emoji commit convention in generated packages: a new `dev/check_commit_msg.py` script runs as a `commit-msg` pre-commit hook and as a `commit-msgs` CI job, rejecting subjects that don't start with a recognized type emoji. The changelog script also changes shape — 📚 commits now render as a top-level `Documentation` section alongside bug fixes and features, and the `Developer` heading drops from H3 to H4 with plain-text sub-labels so user-facing changes carry more visual weight. Two CI fixes: coverage enforcement moves from the silently-ignored `--cover-min` flag to `fail_under` in `[tool.coverage.report]`, with `pytest-cov` added to test deps for subprocess tracking; and the redundant `hatch-test.run` override is removed so pytest picks up `HATCH_TEST_ARGS` (`--randomize`, `--parallel`, `--retries`) again. See the release for more details: https://github.com/mbercx/python-copier/releases/tag/v0.16.0
f060799 to
5b774bc
Compare
Collaborator
Author
|
Hmm, my "suggested commit message" of course only works nicely for packages which I'm religiously keeping in sync. For other changes, see the previous releases: |
Collaborator
Author
|
Right.. the branch protection rules still expect the old test versions to pass. |
Collaborator
Author
|
Updated the rules! The "pending" checks are just noise anyways. |
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.
Enforce the leading-emoji commit convention in generated packages: a new
dev/check_commit_msg.pyscript runs as acommit-msgpre-commit hook and as acommit-msgsCI job, rejecting subjects that don't start with a recognized type emoji. The changelog script also changes shape — 📚 commits now render as a top-levelDocumentationsection alongside bug fixes and features, and theDeveloperheading drops from H3 to H4 with plain-text sub-labels so user-facing changes carry more visual weight.Two CI fixes: coverage enforcement moves from the silently-ignored
--cover-minflag tofail_underin[tool.coverage.report], withpytest-covadded to test deps for subprocess tracking; and the redundanthatch-test.runoverride is removed so pytest picks upHATCH_TEST_ARGS(--randomize,--parallel,--retries) again.See the release for more details:
https://github.com/mbercx/python-copier/releases/tag/v0.16.0