Skip to content

pytest

A Python testing framework.

Mostly friendly. Welcome, with extra rules.

Homepage Repository

Contributions made with AI tools are welcome as long as the submitter understands the changes, can respond to review and takes responsibility. Purely agentic PRs without meaningful human review are closed and their authors banned. Crediting AI with Co-authored-by is appreciated but optional.

Policy by area

Code contributionsPatches, pull requests and other changes written with AI tools.
Mostly friendly
  • Contributor takes full responsibility
  • A human must review the output
  • No autonomous agents
Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
No policy
AI-written textPull request descriptions, issue comments and summaries written by AI.
No policy

In their own words

Code contributions

We welcome contributions from all developers, including those who use AI/LLM tools as part of their workflow.

Contributing to pytest

Regardless of how the code was produced, the person submitting a pull request must understand the changes and be able to respond to review feedback.

Contributing to pytest

Pull requests that are entirely generated by AI agents, with no meaningful human review, understanding, or oversight, will be closed.

Contributing to pytest

This is not required, but helps reviewers set expectations and is appreciated.

Contributing to pytest

Sources