Skip to content

Commit c2a69d1

Browse files
committed
omit main files from coverage
1 parent 078e46e commit c2a69d1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,7 @@ show_missing = true
234234
exclude_also = [
235235
"if TYPE_CHECKING:",
236236
"raise NotImplementedError",
237+
]
238+
omit =[
239+
"*/__main__.py",
237240
]

0 commit comments

Comments
 (0)