# .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