-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.coveragerc
48 lines (45 loc) · 1.15 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
[run]
parallel = True
branch = True
concurrency = multiprocessing
ignore_errors = True
[report]
include = multicast*,tests*
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
from . import
except Exception
except BaseException:
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError
raise ImportError
except subprocess.CalledProcessError
except ..Error
# don't complain about sys.modules
sys.modules
not in sys.modules:
# Don't complain if non-runnable code isn't run:
if __name__ in u'__main__':
if __name__ .. .__main__.:
if __sys_path__ not in sys.path:
os.abort()
exit
partial_branches =
# Have to re-enable the standard pragma rules
pragma: no branch
finally:
except unittest.SkipTest
# Don't complain if non-runnable code isn't run:
if __name__ in u'__main__':
if __name__ in '__main__':
if __sys_path__ not in sys.path:
# don't complain about sys.modules
sys.modules
not in sys.modules:
if context.__name__ is None:
if 'os' not in sys.modules:
if 'os.path' not in sys.modules:
if 'argparse' not in sys.modules: