Move pytest configuration to pyproject.toml

This commit is contained in:
Keith Edmunds 2023-10-23 12:34:05 +01:00
parent 36b3b8c323
commit da23ae9732
2 changed files with 4 additions and 2 deletions

View File

@ -52,6 +52,10 @@ build-backend = "poetry.core.masonry.api"
# mypy_path = "/home/kae/.cache/pypoetry/virtualenvs/musicmuster-oWgGw1IG-py3.9:/home/kae/git/musicmuster/app"
mypy_path = "/home/kae/git/musicmuster/app"
[tool.pytest.ini_options]
addopt = "--exitfirst --showlocals --capture=no"
pythonpath = [".", "app"]
[tool.vulture]
exclude = ["migrations", "app/ui", "archive"]
paths = ["app"]

View File

@ -1,2 +0,0 @@
[pytest]
addopts = -xls