-
Notifications
You must be signed in to change notification settings - Fork 0
/
.coveragerc
36 lines (28 loc) · 904 Bytes
/
.coveragerc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[run]
branch = True
omit =
# Exclude the tests themselves
src/test/*
# Exclude the generated parser/lexer files
src/grammar/*
# Exclude the vendored files
src/_vendor/*
[report]
exclude_lines =
# Re-enable the standard pragma since we're overriding exclude_lines
pragma: no cover
# __repr__s are often debug-only, so ignore those
def __repr__
# Ignore defensive exceptions that will likely never be raised during tests
raise AbstractError
raise NotImplementedError
# These won't even be constructed, so skip them entirely
InternalError
ParseConversionError
# Same goes for defensive checks in __lt__ implementations
return NotImplemented
# This one occurs for FloatTy and IntTy and won't ever be hit since its
# only purpose is to reraise to an InternalError
except ValueError as e:
[html]
directory = .cov_html