pyproject: move pytest config from tox.ini
This commit is contained in:
@@ -66,6 +66,12 @@ include-package-data = false
|
|||||||
[tool.setuptools_scm]
|
[tool.setuptools_scm]
|
||||||
write_to = "src/xdist/_version.py"
|
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]
|
[tool.ruff]
|
||||||
src = ["src"]
|
src = ["src"]
|
||||||
|
|
||||||
|
|||||||
6
tox.ini
6
tox.ini
@@ -48,9 +48,3 @@ deps =
|
|||||||
sphinx_rtd_theme
|
sphinx_rtd_theme
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -W --keep-going -b html docs docs/_build/html {posargs:}
|
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user