pytest-dev / pytest-dev/pytest-rerunfailures

Add setup-cfg-fmt to precommit

Open
#119 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.