Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Comment thread
rgommers marked this conversation as resolved.
Resolved
Comment thread
rgommers marked this conversation as resolved.
Resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
### PR summary and motivation
<!-- Please take some time to make it easier for us to review
your pull request (PR). Describe the PR using the questions below as guidance.
- What problem does this PR solve? Link any relevant issues and PRs.
- Why are you interested in working on this PR?
- How does the proposed change help you?
Comment thread
rgommers marked this conversation as resolved.
Resolved
- Will this change be relevant in 5 years (for new pages or sections)?
Make sure to review the contribution guidelines: https://packaging.python.org/en/latest/contribute/
-->


#### AI usage disclosure
Comment thread
rgommers marked this conversation as resolved.
Resolved
<!-- If AI was used in the preparation of this PR, please disclose
the tool(s) used, how they were used, and specify what code or text is AI generated.
Comment thread
rgommers marked this conversation as resolved.
Resolved
If no AI tools were used, please write "No AI tools used" in this section.
Comment thread
rgommers marked this conversation as resolved.
Resolved
All interactions with reviewers must be performed by humans, including the submission of PRs.
Read the Python Packaging User Guide's policy on AI-assisted contributions at
https://github.com/pypa/packaging.python.org/blob/main/AI_POLICY.md
-->
21 changes: 21 additions & 0 deletions AI_POLICY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# AI Policy

AI-assisted contributions are accepted only if:

- The PR follows the same rules as a non-AI PR.
- It clearly states that it is AI-assisted and names the tool used.
- If you are a new contributor, your PR links to an accepted issue.
- AI-generated descriptions/comments are clearly marked and only used when
required.
- A human drove the tool, reviewed every line, and can explain the change.
- It was not opened by a fully autonomous agent.
- You respond to review comments yourself.

This applies to issues and comments as well as pull requests. Using AI for
translation or grammar help is fine. AI output may infringe copyright; it is
Comment thread
rgommers marked this conversation as resolved.
Resolved
your responsibility to make sure it does not.

Unsolicited, undisclosed, or low-effort AI PRs will be closed.
Comment thread
rgommers marked this conversation as resolved.
Resolved

Only humans can be named as co-authors, and AI can *never* sign off on a
commit. I.e., don't add `Co-authored-by` or `Signed-Off-By` for an AI tool.
6 changes: 6 additions & 0 deletions source/contribute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ By contributing to the |PyPUG|, you're expected to follow the PSF's
.. __: https://policies.python.org/python.org/code-of-conduct/


You are responsible for all code and documentation you submit, including
AI-generated content. Review it yourself and respond to review comments in your
own words. If you use AI coding tools, please read our
`AI policy <https://github.com/pypa/packaging.python.org/blob/main/AI_POLICY.md>`_.


Documentation types
===================

Expand Down
Loading