Skip to content

Commit

Permalink
add exclude to coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzocerrone committed Aug 29, 2024
1 parent 8c6b7d8 commit e953e39
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,19 @@ addopts = [
"--cov-report=xml",
]

# https://coverage.readthedocs.io/
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"@overload",
"except ImportError",
"\\.\\.\\.",
"raise NotImplementedError()",
"pass",
]

[tool.coverage.run]
source = ["ngio"]

Expand Down

0 comments on commit e953e39

Please sign in to comment.