summaryrefslogtreecommitdiff
path: root/.coveragerc
blob: ad8b6730a8a0b0e4b0fe5745944044a114add37c (plain)
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
# .coveragerc to control coverage.py
[run]
# Source
source = plugins/*/cmd2_*/
         cmd2/
# (boolean, default False): whether to measure branch coverage in addition to statement coverage.
branch = False


[report]
# A list of regular expressions. Any line that matches one of these regexes is excluded from being reported as missing
exclude_lines =
    # Have to re-enable the standard pragma
    pragma: no cover

    # Don't complain if non-runnable code isn't run:
    if __name__ == .__main__.:

# (integer): the number of digits after the decimal point to display for reported coverage percentages.
precision = 1


[html]
# (string, default "htmlcov"): where to write the HTML report files.
directory = htmlcov