Skip to content

DOC Shorten PR template and improve PR attention FAQ - #32734

Merged
ArturoAmorQ merged 4 commits into
scikit-learn:mainfrom
lucyleeow:doc_pr_template
Nov 27, 2025
Merged

ArturoAmorQ merged 4 commits into
scikit-learn:mainfrom
lucyleeow:doc_pr_template

Conversation

@lucyleeow

Copy link
Copy Markdown
Member

Reference Issues/PRs

Motivated by reading our PR template while opening a PR and wondering if it was a bit long. I think there is truth in the idea that the longer we make something, the less likely people are to read it.
Related #32566

What does this implement/fix? Explain your changes.

  • Shortens the section in the PR template asking for patience and suggesting ways to improve the PR. Opted for improving the FAQ that is linked to instead.
    • I also had a look at the PR templates of numpy and scipy for inspiration - which are shorter
  • added a section in the FAQ on ways to improve PR or issue - I noticed that there we say similar things in a few places now: spam FAQ and in the auto-close comment (CI Add "autoclose" workflow by label setting #32504). I think having it in one place and linking it will shorten messages and make it easier for us to amend things in future.

Any other comments?

cc @StefanieSenger @adrinjalali @betatim

@github-actions

github-actions Bot commented Nov 18, 2025 •

Copy link
Copy Markdown

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: c546130. Link to the linter CI: here

Comment thread doc/faq.rst
Comment on lines +314 to +316
* follow our :ref:`contribution guidelines <contributing>`, in particular
:ref:`automated_contributions_policy`, :ref:`filing_bugs`,
:ref:`stalled_pull_request` and :ref:`stalled_unclaimed_issues`.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably not ideal but as mentioned above, our contributing page is quite long at the moment and contains a lot of info that would not be relevant in this case. Thus, I thought it would be nice to point to relevant sections.
It would be nice if there was a single page to point (new) contributors to, guiding them on etiquette and general info on making a good issue/PR, but that would require re-organisation of the contributing page, which would be a big task.

@adrinjalali adrinjalali left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@betatim betatim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some language lawyering but otherwise I'm in favour. I think the idea of linking to one place instead of repeating ourselves is a good insight/realisation!

Comment thread .github/PULL_REQUEST_TEMPLATE.md Resolved
Comment thread doc/faq.rst Resolved
@lucyleeow lucyleeow added the Waiting for Second Reviewer First reviewer is done, need a second one! label Nov 18, 2025
Comment thread doc/faq.rst Resolved

@AnneBeyer AnneBeyer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @lucyleeow!

@ArturoAmorQ ArturoAmorQ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lucyleeow and thanks everybody involved in the discussion :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Waiting for Second Reviewer First reviewer is done, need a second one!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants