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 | 9840d2de631dbfb99306c9b2930bcf40a624bbfb (patch) | |
tree | 9a65bad8e59e769ebd0ebcec29fa92628f52d82f /coverage/config.py | |
parent | 964668c05af407eb95aad0b15e90b29f0ad0c53c (diff) | |
download | python-coveragepy-git-9840d2de631dbfb99306c9b2930bcf40a624bbfb.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 e72a728b..ef45ba5a 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'): |