-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
105 lines (95 loc) · 2.89 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[tool.poetry]
name = "pytest-xdist-worker-stats"
version = "0.2.0"
description = "A pytest plugin to list worker statistics after a xdist run."
authors = ["Mikuláš Poul <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "pytest_xdist_worker_stats"}]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Testing",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: Pytest",
]
include = ["LICENSE"]
repository = "https://github.com/mikicz/pytest-xdist-worker-stats"
keywords = ["pytest", "xdist", "pytest-xdist"]
[tool.poetry.plugins."pytest11"]
pytest-xdist-worker-stats = "pytest_xdist_worker_stats"
[tool.poetry.dependencies]
python = ">=3.8"
pytest = ">=7.0.0"
pytest-xdist = ">=3"
[tool.poetry.group.dev.dependencies]
black = "^23.9.1"
ruff = "^0.0.291"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target_version = ['py38', 'py39', 'py310', 'py311', 'py312']
include = '\.pyi?$'
exclude = '''
(
/(
\.git # exclude a few common directories in the
| \.tox # root of the project
| venv
)/
)
'''
[tool.ruff]
select = [
# https://github.com/charliermarsh/ruff#pyflakes-f
"F",
# https://github.com/charliermarsh/ruff#pycodestyle-e-w
"E",
"W",
# https://github.com/charliermarsh/ruff#isort-i
"I",
# https://github.com/charliermarsh/ruff#pep8-naming-n
"N",
# https://github.com/charliermarsh/ruff#pyupgrade-up
"UP",
# https://github.com/charliermarsh/ruff#flake8-bugbear-b
"B",
# https://github.com/charliermarsh/ruff#flake8-comprehensions-c4
"C4",
# https://github.com/charliermarsh/ruff#flake8-debugger-t10
"T10",
# https://github.com/charliermarsh/ruff#flake8-pie-pie
"PIE",
# https://github.com/charliermarsh/ruff#flake8-pytest-style-pt
"PT",
# https://github.com/charliermarsh/ruff#flake8-return-ret
"RET",
# https://github.com/charliermarsh/ruff#flake8-simplify-sim
"SIM",
]
line-length = 120
target-version = "py38"
# Never enforce...
ignore = [
"E501", # line length violations
"PT004", # missing-fixture-name-underscore
"SIM108", # use-ternary-operator
"RET505", # superfluous-else-return
"RET506", # superfluous-else-raise
"RET507", # superfluous-else-continue
"RET508", # superfluous-else-break
"B027", # empty-method-without-abstract-decorator
]
[tool.ruff.flake8-pytest-style]
fixture-parentheses = false
mark-parentheses = false
parametrize-names-type = "list"