Skip to content

Commit c5fc055

Browse files
DEV: Add .coveragerc file to exclude exceptions and warnings from test coverage
1 parent 67af0ba commit c5fc055

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
@@ -0,0 +1,5 @@
1+
[report]
2+
exclude_also=
3+
; Don't complain about exceptions or warnings not being covered by tests
4+
raise *
5+
warnings.warn*

0 commit comments

Comments
 (0)