Skip to content

🔧 copier: update package template to v0.16.0#29

Merged
mbercx merged 1 commit into
aiidaplugins:mainfrom
mbercx:dev/template-update
May 14, 2026
Merged

🔧 copier: update package template to v0.16.0#29
mbercx merged 1 commit into
aiidaplugins:mainfrom
mbercx:dev/template-update

Conversation

@mbercx
Copy link
Copy Markdown
Collaborator

@mbercx mbercx commented May 14, 2026

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

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
@mbercx mbercx force-pushed the dev/template-update branch from f060799 to 5b774bc Compare May 14, 2026 15:11
@mbercx
Copy link
Copy Markdown
Collaborator Author

mbercx commented May 14, 2026

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:

https://github.com/mbercx/python-copier/releases

@mbercx
Copy link
Copy Markdown
Collaborator Author

mbercx commented May 14, 2026

Right.. the branch protection rules still expect the old test versions to pass.

@mbercx
Copy link
Copy Markdown
Collaborator Author

mbercx commented May 14, 2026

Updated the rules! The "pending" checks are just noise anyways.

@mbercx mbercx merged commit 905829c into aiidaplugins:main May 14, 2026
4 checks passed
@mbercx mbercx deleted the dev/template-update branch May 14, 2026 15:19
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