Skip to content

Commit 2fa6513

Browse files
authored
Add our LLM stance to CONTRIBUTING.md
1 parent e159ee9 commit 2fa6513

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,18 @@ tox -e dev --override testenv:dev.allowlist_externals+=env -- env # inspect the
123123
If you don't already have `tox` installed, you can use a virtual environment as
124124
described above to install `tox` via `pip` (e.g., ``python -m pip install tox``).
125125

126+
## LLM-assisted contributions
127+
128+
In general, mypy takes neutral stance on using various LLM code assistants to
129+
make contributions. LLMs are just another tools, and contributors bear full
130+
responsibility for the code they are submitting. Disclosing use of LLMs in pull
131+
request description is recommended, but not required.
132+
133+
However, we discourage use of LLMs by *new* contributors. We are interested in
134+
growing long-term contributors who have good understanding of mypy code.
135+
Pull requests from new contributors that are mostly generated by LLMs
136+
with little human input will be closed.
137+
126138
## First time contributors
127139

128140
If you're looking for things to help with, browse our [issue tracker](https://github.com/python/mypy/issues)!

0 commit comments

Comments
 (0)