Replace pytest.ini with pyproject.toml

Signed-off-by: Dan Yeaw <dan@yeaw.me>
This commit is contained in:
Dan Yeaw 2020-10-19 21:50:49 -04:00
parent fa8f90cd0b
commit 2ffe8b3aa5
No known key found for this signature in database
GPG Key ID: 77A923EF537B61A4
2 changed files with 8 additions and 5 deletions

View File

@ -60,6 +60,14 @@ commands =
xvfb-run -a pytest
"""
[tool.pytest.ini_options]
testpaths = [
"tests",
"docs",
]
doctest-glob = "*.rst"
addopts = "--doctest-modules"
[tool.isort]
multi_line_output = 3
include_trailing_comma = true

View File

@ -1,5 +0,0 @@
[pytest]
testpaths = tests docs
doctest-extension = rst
addopts = --doctest-modules --cov=generic