-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve pull request template checklist #1854
improve pull request template checklist #1854
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much nicer!
- [ ] pre-commit checks ran successfully | ||
- [ ] tests ran successfully | ||
- [ ] for a public change, added a [towncrier news fragment](https://towncrier.readthedocs.io/en/stable/tutorial.html#creating-news-fragments) <details><summary>`changes/<PR#>.<changetype>.rst`</summary> | ||
- [ ] [run `pre-commit` on your machine](https://pre-commit.com/#quick-start) | ||
- [ ] run `pytest` on your machine | ||
- [ ] Does this PR add new features and / or change user-facing code / API? (if not, label with `no-changelog-entry-needed`) | ||
- [ ] write news fragment(s) in `changes/`: `echo "changed something" > changes/<PR#>.<changetype>.rst` (see below for change types) | ||
- [ ] update relevant docstrings and / or `docs/` page | ||
- [ ] for any new features, add unit tests | ||
|
||
- ``changes/<PR#>.feature.rst``: new feature | ||
- ``changes/<PR#>.bugfix.rst``: bug fix | ||
- ``changes/<PR#>.doc.rst``: documentation change | ||
- ``changes/<PR#>.removal.rst``: deprecation or removal of public API | ||
- ``changes/<PR#>.general.rst``: infrastructure or miscellaneous change | ||
</details> | ||
- [ ] for a public change, updated documentation | ||
- [ ] for any new features, unit tests were added | ||
<details><summary>news fragment change types...</summary> | ||
|
||
- ``changes/<PR#>.feature.rst``: new feature | ||
- ``changes/<PR#>.bugfix.rst``: bug fix | ||
- ``changes/<PR#>.doc.rst``: documentation change | ||
- ``changes/<PR#>.removal.rst``: deprecation or removal of public API | ||
- ``changes/<PR#>.general.rst``: infrastructure or miscellaneous change | ||
</details> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
old checklist:
-
pre-commit checks ran successfully
-
tests ran successfully
-
for a public change, added a towncrier news fragment
changes/<PR#>.<changetype>.rst
changes/<PR#>.feature.rst
: new featurechanges/<PR#>.bugfix.rst
: bug fixchanges/<PR#>.doc.rst
: documentation changechanges/<PR#>.removal.rst
: deprecation or removal of public APIchanges/<PR#>.general.rst
: infrastructure or miscellaneous change
-
for a public change, updated documentation
-
for any new features, unit tests were added
new checklist:
- run
pre-commit
on your machine - run
pytest
on your machine - Does this PR add new features and / or change user-facing code / API? (if not, label with
no-changelog-entry-needed
)- write news fragment(s) in
changes/
:echo "changed something" > changes/<PR#>.<changetype>.rst
(see below for change types) - update relevant docstrings and / or
docs/
page - for any new features, add unit tests
- write news fragment(s) in
news fragment change types...
changes/<PR#>.feature.rst
: new featurechanges/<PR#>.bugfix.rst
: bug fixchanges/<PR#>.doc.rst
: documentation changechanges/<PR#>.removal.rst
: deprecation or removal of public APIchanges/<PR#>.general.rst
: infrastructure or miscellaneous change
Description
The current pull request checklist is formatted a bit wonky (
details
spaces out the task list)Tasks
pre-commit
on your machinepytest
on your machineno-changelog-entry-needed
)changes/
:echo "changed something" > changes/<PR#>.<changetype>.rst
(see below for change types)docs/
pagenews fragment change types...
changes/<PR#>.feature.rst
: new featurechanges/<PR#>.bugfix.rst
: bug fixchanges/<PR#>.doc.rst
: documentation changechanges/<PR#>.removal.rst
: deprecation or removal of public APIchanges/<PR#>.general.rst
: infrastructure or miscellaneous change