diff --git a/.coveragerc b/.coveragerc index a9417ac42accecb3b351172f82616455c5226605..a4faf805dbac31700cc1061cc5d52c14457ab653 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,14 +1,39 @@ [report] +# When running a summary report, show missing lines. +# (boolean) show_missing = True +# Any line of source code that matches one of these regexes is excluded +# from being reported as missing. +# (multi-string) exclude_lines = # Have to re-enable the standard pragma pragma: no cover # Don't complain if tests don't hit defensive assertion code: + raise AssertionError raise NotImplementedError +# List of file name patterns, the files to include in reporting. +# (multi-string) +include = + */api_doc/* + */api_roundup/* + */aslint/* + */hgaster/hooks/*.py + #*/api_bitbucket/* + +# List of file name patterns, the files to leave out of reporting. +# (multi-string) +omit = + */api_roundup/stats.py + */hgaster/hooks/codeaster.py + */share/test/* + + [run] +# List of file name patterns, the files to include in measurement. +# (multi-string) include = */api_doc/* */api_roundup/* @@ -16,6 +41,8 @@ include = */hgaster/hooks/*.py #*/api_bitbucket/* +# List of file name patterns, the files to leave out of measurement. +# (multi-string) omit = */api_roundup/stats.py */hgaster/hooks/codeaster.py