Merge pull request #278 from asuhov/2019-r3
[platform/upstream/dldt.git] / .coveragerc
1 # .coveragerc to control coverage.py
2 [run]
3 branch = True
4
5 source =
6     mo/
7     mo.py
8
9 omit =
10     # omit anything in a .local directory anywhere
11     */.local/*
12     # omit everything in /usr
13     /usr/*
14     # omit tests
15     */test_*.py
16     # init scripts
17     */__init__.py
18
19 [report]
20 # Regexes for lines to exclude from consideration
21 exclude_lines =
22     # Have to re-enable the standard pragma
23     pragma: no cover
24
25     # Don't complain about missing debug-only code:
26     def __repr__
27
28     # Don't complain if tests don't hit defensive assertion code:
29     raise AssertionError
30     raise NotImplementedError
31
32     # Don't complain if non-runnable code isn't run:
33     if 0:
34     if __name__ == .__main__.:
35
36 ignore_errors = True
37
38 [html]
39 directory = htmlcov