pyproject: move pytest config from tox.ini

This commit is contained in:
Ran Benita 2024-04-28 22:48:51 +03:00
parent fb51e6ba20
commit d204fdf965
2 changed files with 6 additions and 6 deletions

View File

@ -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"]

View File

@ -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