Skip to content

Commit afb68a9

Browse files
committed
fix: add .coveragerc file
1 parent 8f65f84 commit afb68a9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.coveragerc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[run]
2+
source = .
3+
omit =
4+
*/vendor/*
5+
*/test/*
6+
*/mock/*
7+
*/_test.go
8+
*/main.go
9+
10+
[report]
11+
exclude_lines =
12+
pragma: no cover
13+
def __repr__
14+
if self.debug:
15+
if settings.DEBUG
16+
raise AssertionError
17+
raise NotImplementedError
18+
if 0:
19+
if __name__ == .__main__.:
20+
class .*\bProtocol\):
21+
@(abc\.)?abstractmethod

0 commit comments

Comments
 (0)