Merge branch 'master' of https://github.com/opencv/dldt
[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     *_test.py
17     # init scripts
18     */__init__.py
19
20 [report]
21 # Regexes for lines to exclude from consideration
22 exclude_lines =
23     # Have to re-enable the standard pragma
24     pragma: no cover
25
26     # Don't complain about missing debug-only code:
27     def __repr__
28
29     # Don't complain if tests don't hit defensive assertion code:
30     raise AssertionError
31     raise NotImplementedError
32
33     # Don't complain if non-runnable code isn't run:
34     if 0:
35     if __name__ == .__main__.:
36
37 ignore_errors = True
38
39 [html]
40 directory = htmlcov