diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2012-04-18 08:35:47 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-04-18 08:35:47 -0400 |
commit | 84f6580e6ba48e34485f017afea1b8f62824514a (patch) | |
tree | 32726facf9af9d4019fb17fef725784e71aed15e /coverage/config.py | |
parent | b5b0316a0625b3e3b1fe258375c7d37a0bd0072c (diff) | |
download | python-coveragepy-84f6580e6ba48e34485f017afea1b8f62824514a.tar.gz |
Add show_missing to the config file. #173.
Diffstat (limited to 'coverage/config.py')
-rw-r--r-- | coverage/config.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/coverage/config.py b/coverage/config.py index e72a728..ef45ba5 100644 --- a/coverage/config.py +++ b/coverage/config.py @@ -48,6 +48,7 @@ class CoverageConfig(object): self.partial_list = DEFAULT_PARTIAL[:] self.partial_always_list = DEFAULT_PARTIAL_ALWAYS[:] self.precision = 0 + self.show_missing = False # Defaults for [html] self.html_dir = "htmlcov" @@ -118,6 +119,8 @@ class CoverageConfig(object): self.get_line_list(cp, 'report', 'partial_branches_always') if cp.has_option('report', 'precision'): self.precision = cp.getint('report', 'precision') + if cp.has_option('report', 'show_missing'): + self.show_missing = cp.getboolean('report', 'show_missing') # [html] if cp.has_option('html', 'directory'): |