| 1 |
# .coveragerc to control coverage.py |
| 2 |
[run] |
| 3 |
# Source |
| 4 |
source = cmd2/ |
| 5 |
|
| 6 |
# (boolean, default False): whether to measure branch coverage in addition to statement coverage. |
| 7 |
branch = False |
| 8 |
|
| 9 |
|
| 10 |
[report] |
| 11 |
# A list of regular expressions. Any line that matches one of these regexes is excluded from being reported as missing |
| 12 |
exclude_lines = |
| 13 |
# Have to re-enable the standard pragma |
| 14 |
pragma: no cover |
| 15 |
|
| 16 |
# Don't complain if non-runnable code isn't run: |
| 17 |
if __name__ == .__main__.: |
| 18 |
|
| 19 |
# (integer): the number of digits after the decimal point to display for reported coverage percentages. |
| 20 |
precision = 1 |
| 21 |
|
| 22 |
|
| 23 |
[html] |
| 24 |
# (string, default "htmlcov"): where to write the HTML report files. |
| 25 |
directory = htmlcov |