move pytest config into pyproject.toml

This commit is contained in:
2026-02-10 15:12:09 +01:00
parent 29824e8c04
commit 8ec92a685c
2 changed files with 10 additions and 13 deletions

View File

@@ -38,7 +38,8 @@ dev = [
"bump-my-version>=0.29.0",
"icecream>=2.1.4",
"nuitka>=2.5.9",
"prek>=0.3.2",
"pytest",
"pytest-cov",
"pyinstaller>=6.17.0",
]
swbtest = ["alive-progress>=3.3.0"]
@@ -72,3 +73,11 @@ filename = ".version"
[[tool.uv.index]]
name = "gitea"
url = "https://git.theprivateserver.de/api/packages/PHB/pypi/simple/"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=src --cov-report=term-missing"
[tool.coverage.run]
omit = ["main.py", "test.py", "tests/*", "__init__.py", ]