Replace pytest.ini with pyproject.toml
Signed-off-by: Dan Yeaw <dan@yeaw.me>
This commit is contained in:
parent
fa8f90cd0b
commit
2ffe8b3aa5
@ -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
|
||||
|
@ -1,5 +0,0 @@
|
||||
[pytest]
|
||||
testpaths = tests docs
|
||||
doctest-extension = rst
|
||||
addopts = --doctest-modules --cov=generic
|
||||
|
Loading…
Reference in New Issue
Block a user