summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-05-04 11:06:02 -0600
committerGitHub <noreply@github.com>2021-05-04 11:06:02 -0600
commit70dd918b8b531ce7be91bb9e6bb52fdc7c7199b9 (patch)
tree686312cc6e028c4a5e736b97581e04bbdd276520 /doc
parented4ed00d3d4ea93d1d957b70cf7462fe916b997d (diff)
parentca2a8035fb924d1f0ec71ab955b75deb12e0f94b (diff)
downloadnumpy-70dd918b8b531ce7be91bb9e6bb52fdc7c7199b9.tar.gz
Merge pull request #18893 from cmarmo/saved-replies
DOC: Add a set of standard replies.
Diffstat (limited to 'doc')
-rw-r--r--doc/source/dev/reviewer_guidelines.rst68
1 files changed, 65 insertions, 3 deletions
diff --git a/doc/source/dev/reviewer_guidelines.rst b/doc/source/dev/reviewer_guidelines.rst
index 1d93bc136..ffac85f77 100644
--- a/doc/source/dev/reviewer_guidelines.rst
+++ b/doc/source/dev/reviewer_guidelines.rst
@@ -37,9 +37,8 @@ Communication Guidelines
style or grammar, consider merging the current PR when all important concerns
are addressed. Then, either push a commit directly (if you are a maintainer)
or open a follow-up PR yourself.
-- If you need help writing replies in reviews, check out some `Standard replies
- for reviewing
- <https://scikit-learn.org/stable/developers/tips.html#saved-replies>`_.
+- If you need help writing replies in reviews, check out some
+ :ref:`standard replies for reviewing<saved-replies>`.
Reviewer Checklist
==================
@@ -116,4 +115,67 @@ the PR page.
Assuming you have your :ref:`development environment<development-environment>`
set up, you can now build the code and test it.
+.. _saved-replies:
+
+Standard replies for reviewing
+==============================
+
+It may be helpful to store some of these in GitHub's `saved
+replies <https://github.com/settings/replies/>`_ for reviewing:
+
+**Usage question**
+ .. code-block:: md
+
+ You are asking a usage question. The issue tracker is for bugs and new features.
+ I'm going to close this issue, feel free to ask for help via our [help channels](https://numpy.org/gethelp/).
+
+**You’re welcome to update the docs**
+ .. code-block:: md
+
+ Please feel free to offer a pull request updating the documentation if you feel it could be improved.
+
+**Self-contained example for bug**
+ .. code-block:: md
+
+ Please provide a [self-contained example code](https://stackoverflow.com/help/mcve), including imports and data (if possible), so that other contributors can just run it and reproduce your issue.
+ Ideally your example code should be minimal.
+
+**Software versions**
+ .. code-block:: md
+
+ To help diagnose your issue, please paste the output of:
+ ```
+ python -c 'import numpy; print(numpy.version.version)'
+ ```
+ Thanks.
+
+**Code blocks**
+ .. code-block:: md
+
+ Readability can be greatly improved if you [format](https://help.github.com/articles/creating-and-highlighting-code-blocks/) your code snippets and complete error messages appropriately.
+ You can edit your issue descriptions and comments at any time to improve readability.
+ This helps maintainers a lot. Thanks!
+
+**Linking to code**
+ .. code-block:: md
+
+ For clarity's sake, you can link to code like [this](https://help.github.com/articles/creating-a-permanent-link-to-a-code-snippet/).
+
+**Better description and title**
+ .. code-block:: md
+
+ Please make the title of the PR more descriptive.
+ The title will become the commit message when this is merged.
+ You should state what issue (or PR) it fixes/resolves in the description using the syntax described [here](https://docs.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword).
+
+**Regression test needed**
+ .. code-block:: md
+
+ Please add a [non-regression test](https://en.wikipedia.org/wiki/Non-regression_testing) that would fail at main but pass in this PR.
+
+**Don’t change unrelated**
+ .. code-block:: md
+
+ Please do not change unrelated lines. It makes your contribution harder to review and may introduce merge conflicts to other pull requests.
+
.. include:: gitwash/git_links.inc