Skip to content

Commit 68241a2

Browse files
committed
Exclude certain lines from coverage
1 parent 6ef6977 commit 68241a2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.coveragerc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
[run]
22
include = pre_commit_hooks/*
3+
4+
[report]
5+
exclude_lines =
6+
pragma: no cover
7+
if __name__ == .__main__.:

0 commit comments

Comments
 (0)