@@ -4,24 +4,18 @@ requires = [
44 " setuptools>=40" ,
55]
66
7- [tool .check-manifest ]
8- ignore = [" .pre-commit-config.yaml" ]
9-
107[project ]
118name = " pytest-rerunfailures"
129version = " 16.2.dev0"
1310description = " pytest plugin to re-run tests to eliminate flaky failures"
14- dynamic = [
15- " readme" ,
16- ]
1711keywords = [
1812 " failures" ,
1913 " flaky" ,
2014 " pytest" ,
2115 " rerun" ,
2216]
2317license.text = " MPL-2.0"
24- authors = [
{ name =
" Leah Klearman" ,
email =
" [email protected] " } ]
18+ authors = [
{ name =
" Leah Klearman" ,
email =
" [email protected] " } ]
2519requires-python = " >=3.10"
2620classifiers = [
2721 " Development Status :: 5 - Production/Stable" ,
@@ -42,38 +36,37 @@ classifiers = [
4236 " Topic :: Software Development :: Testing" ,
4337 " Topic :: Utilities" ,
4438]
39+ dynamic = [
40+ " readme" ,
41+ ]
4542dependencies = [
4643 " packaging>=17.1" ,
4744 " pytest!=8.2.2,>=7.4" ,
4845]
49- urls = {Homepage = " https://github.com/pytest-dev/pytest-rerunfailures" }
46+ urls = { Homepage = " https://github.com/pytest-dev/pytest-rerunfailures" }
47+
48+ entry-points.pytest11.rerunfailures = " pytest_rerunfailures"
5049
5150[tool .setuptools .dynamic ]
52- readme = {file = [" HEADER.rst" , " README.rst" , " CHANGES.rst" ] }
51+ readme = { file = [ " HEADER.rst" , " README.rst" , " CHANGES.rst" ] }
5352
54- [project .entry-points .pytest11 ]
55- rerunfailures = " pytest_rerunfailures"
5653[tool .ruff ]
5754fix = true
5855lint.select = [
59- " E" , # https://pypi.org/project/pyflakes/
60- " W " , # https://pypi.org/project/pycodestyle /
61- " F " , # https://pypi.org/project/pyflakes /
62- " I " , # https://pypi.org/project/isort /
63- " S " , # https://pypi.org/project/flake8-bandit /
64- " UP " , # https://pypi.org/project/upgrade-checker /
56+ " E" , # https://pypi.org/project/pyflakes/
57+ " F " , # https://pypi.org/project/pyflakes /
58+ " I " , # https://pypi.org/project/isort /
59+ " S " , # https://pypi.org/project/flake8-bandit /
60+ " UP " , # https://pypi.org/project/upgrade-checker /
61+ " W " , # https://pypi.org/project/pycodestyle /
6562]
6663
67- [tool .ruff .lint .isort ]
68- known-first-party = [" pytest_rerunfailures" ]
69-
70- [tool .ruff .lint .per-file-ignores ]
71- "test_*.py" = [" S101" , " S311" ]
72-
73- [tool .ruff .lint .pydocstyle ]
64+ lint.per-file-ignores."test_*.py" = [ " S101" , " S311" ]
65+ lint.isort.known-first-party = [ " pytest_rerunfailures" ]
66+ # Unlike Flake8, default to a complexity level of 10.
67+ lint.mccabe.max-complexity = 10
7468# Use Google-style docstrings.
75- convention = " google"
69+ lint.pydocstyle. convention = " google"
7670
77- [tool .ruff .lint .mccabe ]
78- # Unlike Flake8, default to a complexity level of 10.
79- max-complexity = 10
71+ [tool .check-manifest ]
72+ ignore = [ " .pre-commit-config.yaml" ]
0 commit comments