Skip to content

Commit

Permalink
Fix spurious coverage failures
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrieb committed Nov 3, 2024
1 parent 84d7d39 commit bf8120d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ omit = [
]

[tool.coverage.report]
omit = [
"__*__.py",
]
exclude_lines = [
# Have to re-enable the standard pragma
"pragma: no cover",
Expand All @@ -122,8 +125,7 @@ exclude_lines = [

# Don't complain if non-runnable code isn't run
"if __name__ == .__main__.:",
"cli_entrypoint\\(",
# "main\(",
"cli_entrypoint",

# Ignore unused conditionals
"pass",
Expand Down

0 comments on commit bf8120d

Please sign in to comment.