Skip to content

Commit

Permalink
exclude TYPE_CHECKING from coverage report
Browse files Browse the repository at this point in the history
Signed-off-by: gruebel <anton.gruebel@gmail.com>
  • Loading branch information
gruebel committed Mar 2, 2024
1 parent 5fe86a3 commit 592effb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ dev = ["pip-tools", "pytest", "pre-commit"]
[project.urls]
Homepage = "https://github.com/open-feature/python-sdk"

[tool.coverage.report]
exclude_also = [
"if TYPE_CHECKING:",
]

[tool.mypy]
files = "openfeature"
namespace_packages = true
Expand Down

0 comments on commit 592effb

Please sign in to comment.