pyproject: move pytest config from tox.ini
This commit is contained in:
parent
fb51e6ba20
commit
d204fdf965
|
@ -66,6 +66,12 @@ include-package-data = false
|
|||
[tool.setuptools_scm]
|
||||
write_to = "src/xdist/_version.py"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
# pytest-services also defines a worker_id fixture, disable
|
||||
# it so they don't conflict with each other (#611).
|
||||
addopts = "-ra -p no:pytest-services"
|
||||
testpaths = ["testing"]
|
||||
|
||||
[tool.ruff]
|
||||
src = ["src"]
|
||||
|
||||
|
|
6
tox.ini
6
tox.ini
|
@ -48,9 +48,3 @@ deps =
|
|||
sphinx_rtd_theme
|
||||
commands =
|
||||
sphinx-build -W --keep-going -b html docs docs/_build/html {posargs:}
|
||||
|
||||
[pytest]
|
||||
# pytest-services also defines a worker_id fixture, disable
|
||||
# it so they don't conflict with each other (#611).
|
||||
addopts = -ra -p no:pytest-services
|
||||
testpaths = testing
|
||||
|
|
Loading…
Reference in New Issue