diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-01-10 21:00:09 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-01-10 22:13:47 -0500 |
commit | b0710b1fc868db5c385b3d30a2fab49a2aeb2e81 (patch) | |
tree | 6164452f48d42f9f5c73f18d0c54cf2fa9e8425e /coverage/config.py | |
parent | 69573662dab1203009075bca655eadf088aeda78 (diff) | |
download | python-coveragepy-git-b0710b1fc868db5c385b3d30a2fab49a2aeb2e81.tar.gz |
skip_covered and skip_empty for HTML. #1090
Diffstat (limited to 'coverage/config.py')
-rw-r--r-- | coverage/config.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/coverage/config.py b/coverage/config.py index 2af4a1cc..803dcd5d 100644 --- a/coverage/config.py +++ b/coverage/config.py @@ -217,6 +217,8 @@ class CoverageConfig(object): # Defaults for [html] self.extra_css = None self.html_dir = "htmlcov" + self.html_skip_covered = None + self.html_skip_empty = None self.html_title = "Coverage report" self.show_contexts = False @@ -384,6 +386,8 @@ class CoverageConfig(object): # [html] ('extra_css', 'html:extra_css'), ('html_dir', 'html:directory'), + ('html_skip_covered', 'html:skip_covered', 'boolean'), + ('html_skip_empty', 'html:skip_empty', 'boolean'), ('html_title', 'html:title'), ('show_contexts', 'html:show_contexts', 'boolean'), |