move pytest config into pyproject.toml
This commit is contained in:
@@ -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", ]
|
||||
|
||||
Reference in New Issue
Block a user