Skip to content

Commit 75f3323

Browse files
authored
📝 docs(contributing): require tests per change (#310)
Contributors now have a written rule for what a change must include: every new feature and bug fix comes with a matching automated check, and a change that skips one says why in the pull request. 📋 The rule lives in `CONTRIBUTING.md`, the file the [OpenSSF Best Practices](https://www.bestpractices.dev/) criteria for contribution requirements point to, so the project's badge can cite it.
1 parent f4a0615 commit 75f3323

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎CONTRIBUTING.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,7 @@ same entries with unwrapped lines. The PyPI upload runs only after the notes ren
3434
`pylock.toml` records the selectable dependency groups for supported Python versions and platforms. The weekly release
3535
lock workflow refreshes it after a seven-day cooldown. Release jobs install the specific tool groups they need from this
3636
lock.
37+
38+
## Tests
39+
40+
Add a test for every new feature and bug fix. A change without a test needs a reason in the pull request description.

0 commit comments

Comments
 (0)