Skip to content

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

Merged
mbercx merged 1 commit into
aiidateam:mainfrom
mbercx:dev/template
May 1, 2026
Merged

🔧 copier: update package template to v0.16.0#147
mbercx merged 1 commit into
aiidateam:mainfrom
mbercx:dev/template

Conversation

@mbercx
Copy link
Copy Markdown
Member

@mbercx mbercx commented May 1, 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

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.00%. Comparing base (d0f8124) to head (6dd9004).
⚠️ Report is 122 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
- Coverage   89.77%   87.00%   -2.78%     
==========================================
  Files          11       19       +8     
  Lines         489      754     +265     
==========================================
+ Hits          439      656     +217     
- Misses         50       98      +48     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mbercx mbercx force-pushed the dev/template branch 2 times, most recently from 541be5e to 984dc75 Compare May 1, 2026 05:55
@mbercx
Copy link
Copy Markdown
Member Author

mbercx commented May 1, 2026

@Foia-Oleksandr this doesn't include your uv updates yet, but I realised the package wasn't synced with the template for some time already.

We can discuss the template updates here: mbercx/python-copier#2. Might ping you there with some questions on your uv workflow, if you're up for it.

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 merged commit fcad0d3 into aiidateam:main May 1, 2026
5 checks passed
@mbercx mbercx deleted the dev/template branch May 1, 2026 06:27
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.

2 participants