From 9840d2de631dbfb99306c9b2930bcf40a624bbfb Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Wed, 18 Apr 2012 08:35:47 -0400 Subject: Add show_missing to the config file. #173. --- coverage/config.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'coverage/config.py') 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'): -- cgit v1.2.1