forked from terrapower/armi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.coveragerc
35 lines (30 loc) · 826 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
# Don't worry about coverage for the grid GUI (for now)
[run]
omit =
armi/cli/gridGui.py
armi/utils/gridEditor.py
armi/utils/tests/test_gridGui.py
venv/
source = armi
# change default .coverage file to something that doesn't have a dot
# because the Windows file server can't handle dots.
data_file = coverage_results.cov
[coverage:run]
parallel = true
[report]
omit =
armi/cli/gridGui.py
armi/utils/gridEditor.py
*/tests/*
exclude_lines =
# Don't complain about missing debug-only code:
def __repr__
if self\.debug
# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise KeyboardInterrupt
raise NotImplementedError
except ImportError
pass
# Don't complain if non-runnable code isn't run:
if __name__ == .__main__.: