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