pytest-dev / pytest-dev/pytest-rerunfailures
Add setup-cfg-fmt to precommit
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 477
- Forks
- 107
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 21
Description
As per https://github.com/pytest-dev/pytest-rerunfailures/pull/117 we now have pre-commit support for this repo.
A useful hook to consider adding to pre-commit would be setup-cfg-fmt so that we can enforce a consistent config file format.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the existing pre-commit configuration introduced by pull request 117 and the setup-cfg-fmt hook documentation linked in the issue. Add the hook to the repository's pre-commit setup, then run pre-commit to verify that setup.cfg formatting is checked consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100