diff options
author | Vignesh K <vignesh.k041@wipro.com> | 2019-03-27 17:34:08 +0530 |
---|---|---|
committer | Vignesh K <vignesh.k041@wipro.com> | 2019-04-10 20:42:17 +0530 |
commit | 34dd2c9a61528cb87ecf59d031bae23cd257210a (patch) | |
tree | 22830a23428846f38d5daae9a772d44b179b9330 /clamp-policy/.coveragerc | |
parent | a4983a2f9a74b52c1b54491f2a39d2effb2763e6 (diff) |
Initial commit for clamp-policy plugin
Addressed review comments
Issue-ID: DCAEGEN2-1129
Change-Id: Icdf95bdbf7c3ec2f201d5d57544ef6d206f3c5fa
Signed-off-by: Vignesh K <vignesh.k041@wipro.com>
Diffstat (limited to 'clamp-policy/.coveragerc')
-rw-r--r-- | clamp-policy/.coveragerc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/clamp-policy/.coveragerc b/clamp-policy/.coveragerc new file mode 100644 index 0000000..22cdf0c --- /dev/null +++ b/clamp-policy/.coveragerc @@ -0,0 +1,25 @@ +# .coveragerc to control coverage.py +[run] +branch = True +cover_pylib = False +# include = */clamppolicyplugin/*.py + +[report] +# Regexes for lines to exclude from consideration +exclude_lines = + # Have to re-enable the standard pragma + pragma: no cover + + # Don't complain about missing debug-only code: + def __repr__ + if self\.debug + + # Don't complain if tests don't hit defensive assertion code: + raise AssertionError + raise NotImplementedError + + # Don't complain if non-runnable code isn't run: + if 0: + if __name__ == .__main__.: + +ignore_errors = True |