From f490944df2398d629aac6499c882a6afd2e189d9 Mon Sep 17 00:00:00 2001 From: Mathieu Courtois <mathieu.courtois@edf.fr> Date: Tue, 8 Jan 2019 11:51:43 +0100 Subject: [PATCH] [#28360] Add report/run sections to 'coveragerc'. --HG-- branch : edf/mc --- .coveragerc | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.coveragerc b/.coveragerc index a9417ac4..a4faf805 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 -- GitLab