From 909d1ad55bd1c5222710821a9650074dd5f9e7ec Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Sat, 28 Feb 2026 17:10:02 -0500 Subject: [PATCH] Add pytest config sections and vars --- pyproject.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 82a0718..2c6c16b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,19 @@ dev = [ ] [tool.pytest.ini_options] +addopts = "--cov=Lottery_Project --cov-report=html --cov-report=term-missing" filterwarnings = [ "ignore::ResourceWarning", + "ignore:RuntimeWarning", "ignore::pytest.PytestUnraisableExceptionWarning", ] + +[tool.coverage.run] +omit = [ + "tests/*", + "*/__init__.py", +] + +[tool.coverage.report] +fail_under=90 +show_missing=true