Skip to content

Commit

Permalink
Make pragma nocover work
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Mar 11, 2021
1 parent 5776b36 commit 4d06852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ source = ["src"]

[tool.coverage.report]
show_missing = true
exclude_lines = ["if TYPE_CHECKING:"]
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]

[tool.coverage.run]
branch = true
Expand Down

0 comments on commit 4d06852

Please sign in to comment.