2021-11-25 05:11:50 +00:00
# Summary
2021-12-16 08:25:22 +00:00
<!-- Please tell us what your pull request is about here. -->
2021-11-25 05:11:50 +00:00
2017-03-24 08:34:51 +00:00
# Pull Request Check List
2021-12-16 08:25:22 +00:00
<!--
2021-12-16 07:28:19 +00:00
This is just a friendly reminder about the most common mistakes.
Please make sure that you tick all boxes.
But please read our [contribution guide ](https://github.com/python-attrs/attrs/blob/main/.github/CONTRIBUTING.md ) at least once, it will save you unnecessary review cycles!
2017-03-24 08:34:51 +00:00
2021-12-16 07:28:19 +00:00
If an item doesn't apply to your pull request, **check it anyway** to make it apparent that there's nothing left to do.
If your pull request is a documentation fix or a trivial typo, feel free to delete the whole thing.
2021-12-16 08:25:22 +00:00
-->
2018-10-08 08:59:05 +00:00
2023-10-30 14:57:07 +00:00
- [ ] Do **not** open pull requests from your `main` branch – **use a separate branch** !
2023-11-01 07:37:41 +00:00
- There's a ton of footguns waiting if you don't heed this warning. You can still go back to your project, create a branch from your main branch, push it, and open the pull request from the new branch.
2024-09-03 05:00:13 +00:00
- This is not a pre-requisite for your pull request to be accepted, but **you have been warned** .
2017-03-24 08:34:51 +00:00
- [ ] Added **tests** for changed code.
2021-12-16 07:28:19 +00:00
Our CI fails if coverage is not 100%.
2021-02-25 07:46:28 +00:00
- [ ] New features have been added to our [Hypothesis testing strategy ](https://github.com/python-attrs/attrs/blob/main/tests/strategies.py ).
2018-07-14 11:32:49 +00:00
- [ ] Changes or additions to public APIs are reflected in our type stubs (files ending in ``.pyi``).
2018-08-21 05:46:20 +00:00
- [ ] ...and used in the stub test file `tests/typing_example.py` .
2021-12-25 14:15:10 +00:00
- [ ] If they've been added to `attr/__init__.pyi` , they've *also* been re-imported in `attrs/__init__.pyi` .
2017-03-24 08:34:51 +00:00
- [ ] Updated **documentation** for changed code.
2018-08-21 05:46:20 +00:00
- [ ] New functions/classes have to be added to `docs/api.rst` by hand.
2024-08-02 06:03:14 +00:00
- [ ] Changes to the signatures of `@attr.s()` and `@attrs.define()` have to be added by hand too.
2021-12-16 07:28:19 +00:00
- [ ] Changed/added classes/methods/functions have appropriate `versionadded` , `versionchanged` , or `deprecated` [directives ](http://www.sphinx-doc.org/en/stable/markup/para.html#directive-versionadded ).
2023-01-29 10:21:20 +00:00
The next version is the second number in the current release + 1.
2023-04-14 09:15:30 +00:00
The first number represents the current year.
So if the current version on PyPI is 22.2.0, the next version is gonna be 22.3.0.
If the next version is the first in the new year, it'll be 23.1.0.
2024-08-02 06:03:14 +00:00
- [ ] If something changed that affects both `attrs.define()` and `attr.s()` , you have to add version directives to both.
2023-10-30 14:57:07 +00:00
- [ ] Documentation in `.rst` and `.md` files is written using [semantic newlines ](https://rhodesmill.org/brandon/2012/one-sentence-per-line/ ).
2021-02-25 07:46:28 +00:00
- [ ] Changes (and possible deprecations) have news fragments in [`changelog.d` ](https://github.com/python-attrs/attrs/blob/main/changelog.d ).
2022-01-29 14:27:56 +00:00
- [ ] Consider granting [push permissions to the PR branch ](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork ), so maintainers can fix minor issues themselves without pestering you.
2017-03-24 08:34:51 +00:00
2021-12-16 08:25:22 +00:00
<!--
2021-12-16 07:28:19 +00:00
If you have *any* questions to *any* of the points above, just **submit and ask** !
This checklist is here to *help* you, not to deter you from contributing!
2021-12-16 08:25:22 +00:00
-->