-
Notifications
You must be signed in to change notification settings - Fork 84
/
pyproject.toml
80 lines (72 loc) · 2.25 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=40",
]
[tool.check-manifest]
ignore = [".pre-commit-config.yaml"]
[project]
name = "pytest-rerunfailures"
version = "15.1.dev0"
description = "pytest plugin to re-run tests to eliminate flaky failures"
dynamic = [
"readme",
]
keywords = [
"failures",
"flaky",
"pytest",
"rerun",
]
license = {text = "Mozilla Public License 2.0 (MPL 2.0)"}
authors = [{name = "Leah Klearman", email = "[email protected]"}]
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Pytest",
"Intended Audience :: Developers",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
]
dependencies = [
"packaging>=17.1",
"pytest!=8.2.2,>=7.4",
]
urls = {Homepage = "https://github.com/pytest-dev/pytest-rerunfailures"}
[tool.setuptools.dynamic]
readme = {file = ["HEADER.rst", "README.rst", "CHANGES.rst"]}
[project.entry-points.pytest11]
rerunfailures = "pytest_rerunfailures"
[tool.ruff]
fix = true
lint.select = [
"E", # https://pypi.org/project/pyflakes/
"W", # https://pypi.org/project/pycodestyle/
"F", # https://pypi.org/project/pyflakes/
"I", # https://pypi.org/project/isort/
"S", # https://pypi.org/project/flake8-bandit/
"UP", # https://pypi.org/project/upgrade-checker/
]
[tool.ruff.lint.isort]
known-first-party = ["pytest_rerunfailures"]
[tool.ruff.lint.per-file-ignores]
"test_*.py" = ["S101", "S311"]
[tool.ruff.lint.pydocstyle]
# Use Google-style docstrings.
convention = "google"
[tool.ruff.lint.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10