Add pytest config sections and vars

This commit is contained in:
chris committed 2026-02-28 17:10:02 -05:00
1 parent fd18bcba1b
commit 909d1ad55b
1 file changed
+12
+12
View File
@@ -21,7 +21,19 @@ dev = [
] ]
[tool.pytest.ini_options] [tool.pytest.ini_options]
addopts = "--cov=Lottery_Project --cov-report=html --cov-report=term-missing"
filterwarnings = [ filterwarnings = [
"ignore::ResourceWarning", "ignore::ResourceWarning",
"ignore:RuntimeWarning",
"ignore::pytest.PytestUnraisableExceptionWarning", "ignore::pytest.PytestUnraisableExceptionWarning",
] ]
[tool.coverage.run]
omit = [
"tests/*",
"*/__init__.py",
]
[tool.coverage.report]
fail_under=90
show_missing=true