From 74517b02e2c166b5a45141a5eef90bc937e9e45b Mon Sep 17 00:00:00 2001 From: Sam Evans Date: Wed, 22 Jul 2026 14:10:59 -0400 Subject: [PATCH 1/3] clean up github PR form template See #1595 for detailed description of PR form template issues --- .github/PULL_REQUEST_TEMPLATE.md | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 52e5160c3..81bd8a8eb 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,8 +1,10 @@ - + Closes #XXX ## Overview @@ -10,7 +12,7 @@ Closes #XXX points on any bug fixes, new functions, or other changes that have been made. --> ## Expected Usage - ```Python import uxarray as ux @@ -25,7 +27,6 @@ some_output = uxds.some_function() # this is another way to use this function other_output = uxds.some_function(some_param = True) - ``` ## PR Checklist @@ -33,8 +34,8 @@ other_output = uxds.some_function(some_param = True) apply to this PR, comment it out or delete it. --> **General** -- [ ] An issue is linked created and linked -- [ ] Add appropriate labels +- [ ] An issue is created and linked +- [ ] Added appropriate labels (if you have label edit permissions) - [ ] Filled out Overview and Expected Usage (if applicable) sections **Testing** @@ -44,24 +45,25 @@ apply to this PR, comment it out or delete it. --> **Documentation** - [ ] Docstrings have been added to all new functions -- [ ] Docstrings have updated with any function changes -- [ ] Internal functions have a preceding underscore (`_`) and have been added to `docs/internal_api/index.rst` -- [ ] User functions have been added to `docs/user_api/index.rst` +- [ ] Docstrings have been updated with any function changes +- [ ] User (public) functions have been added to `docs/api.rst` +- [ ] Internal (private) function names start with an underscore (`_`) + **Examples** -- [ ] Any new notebook examples added to `docs/examples/` folder -- [ ] Clear the output of all cells before committing -- [ ] New notebook files added to `docs/examples.rst` toctree -- [ ] New notebook files added to new entry in `docs/gallery.yml` with appropriate thumbnail photo in `docs/_static/thumbnails/` +- [ ] New notebook examples cleared the output of all cells before committing +- [ ] New notebook examples added to appropriate folder (gallery: `docs/examples/`; guide: `docs/user-guide/`; quickstart: `docs/getting-started/`) +- [ ] New notebook examples referenced in appropriate .rst file (gallery: `docs/gallery.rst`; guide: `docs/userguide.rst`; quickstart: `docs/quickstart.rst`) +- [ ] New notebook gallery examples added entry in `docs/gallery.yml` with appropriate thumbnail photo in `docs/_static/thumbnails/` + **General** - [ ] An issue is created and linked -- [ ] Added appropriate labels (if you have label edit permissions) +- [ ] Added appropriate labels (if your uxarray repo permissions allow it) - [ ] Filled out Overview and Expected Usage (if applicable) sections **Testing** + - [ ] Adequate tests are created if there is new functionality - [ ] Tests cover all possible logical paths in your function - [ ] Tests are not too basic (such as simply calling a function and nothing else) **Documentation** + - [ ] Docstrings have been added to all new functions - [ ] Docstrings have been updated with any function changes - [ ] User (public) functions have been added to `docs/api.rst` - [ ] Internal (private) function names start with an underscore (`_`) - **Examples** -- [ ] New notebook examples cleared the output of all cells before committing + +- [ ] **All** notebook examples cleared the output of all cells before committing - [ ] New notebook examples added to appropriate folder (gallery: `docs/examples/`; guide: `docs/user-guide/`; quickstart: `docs/getting-started/`) - [ ] New notebook examples referenced in appropriate .rst file (gallery: `docs/gallery.rst`; guide: `docs/userguide.rst`; quickstart: `docs/quickstart.rst`) - [ ] New notebook gallery examples added entry in `docs/gallery.yml` with appropriate thumbnail photo in `docs/_static/thumbnails/` From 9344c44e399d4b9fe2fe549aca94f81a5e8856ec Mon Sep 17 00:00:00 2001 From: Sam Evans <47793072+Sevans711@users.noreply.github.com> Date: Tue, 28 Jul 2026 11:09:28 -0400 Subject: [PATCH 3/3] add benchmarking checklist item on PR form --- .github/PULL_REQUEST_TEMPLATE.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 3fb35a34c..183bfaf90 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -37,11 +37,13 @@ other_output = uxds.some_function(some_param = True) - [ ] Added appropriate labels (if your uxarray repo permissions allow it) - [ ] Filled out Overview and Expected Usage (if applicable) sections -**Testing** - +**Testing & Benchmarking** + - [ ] Adequate tests are created if there is new functionality - [ ] Tests cover all possible logical paths in your function - [ ] Tests are not too basic (such as simply calling a function and nothing else) +- [ ] At least one ASV benchmark demonstrates improvements, if expected (add a new benchmark if necessary) **Documentation**