Skip to content

Commit 57a9184

Browse files
Merge pull request #557 from inknos/coverage-pyproject
pyproject: exclude unittest.main() from coverage
2 parents 7235308 + e884983 commit 57a9184

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,3 +168,8 @@ module = [
168168
"podman.errors.exceptions"
169169
]
170170
ignore_errors = true
171+
172+
[tool.coverage.report]
173+
exclude_also = [
174+
"unittest.main()",
175+
]

0 commit comments

Comments
 (0)