1# =========================================================================
2# COVERAGE CONFIGURATION FILE: .coveragerc
3# =========================================================================
4# LANGUAGE: Python
5# SEE ALSO:
6#  * http://nedbatchelder.com/code/coverage/
7#  * http://nedbatchelder.com/code/coverage/config.html
8# =========================================================================
9
10[run]
11# data_file = .coverage
12source   = parse_type
13branch   = True
14parallel = True
15omit = mock.py, ez_setup.py, distribute.py
16
17
18[report]
19ignore_errors = True
20show_missing  = True
21# Regexes for lines to exclude from consideration
22exclude_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    if self\.debug
29
30    # Don't complain if tests don't hit defensive assertion code:
31    raise AssertionError
32    raise NotImplementedError
33
34    # Don't complain if non-runnable code isn't run:
35    if 0:
36    if False:
37    if __name__ == .__main__.:
38
39
40[html]
41directory = build/coverage.html
42title = Coverage Report: parse_type
43
44[xml]
45output = build/coverage.xml
46
47