summaryrefslogtreecommitdiff
path: root/coverage/config.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2011-06-01 08:19:46 -0400
committerNed Batchelder <ned@nedbatchelder.com>2011-06-01 08:19:46 -0400
commitd2ef0b1e323c85e9a7fc3782bc4d5cd5511d9a74 (patch)
tree6d0449fc5a693b23e7de841782fc1ef6152a7738 /coverage/config.py
parent9712533c72501df0161fcb7cd8219da21104e9d6 (diff)
downloadpython-coveragepy-git-d2ef0b1e323c85e9a7fc3782bc4d5cd5511d9a74.tar.gz
Move some test modules to keep them out of pylint's hair.
--HG-- rename : test/othermods/__init__.py => test/moremodules/othermods/__init__.py rename : test/othermods/othera.py => test/moremodules/othermods/othera.py rename : test/othermods/otherb.py => test/moremodules/othermods/otherb.py rename : test/othermods/sub/__init__.py => test/moremodules/othermods/sub/__init__.py rename : test/othermods/sub/osa.py => test/moremodules/othermods/sub/osa.py rename : test/othermods/sub/osb.py => test/moremodules/othermods/sub/osb.py
Diffstat (limited to 'coverage/config.py')
-rw-r--r--coverage/config.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/coverage/config.py b/coverage/config.py
index f842964d..6b441ddc 100644
--- a/coverage/config.py
+++ b/coverage/config.py
@@ -99,7 +99,8 @@ class CoverageConfig(object):
# [report]
if cp.has_option('report', 'exclude_lines'):
- self.exclude_list = self.get_line_list(cp, 'report', 'exclude_lines')
+ self.exclude_list = \
+ self.get_line_list(cp, 'report', 'exclude_lines')
if cp.has_option('report', 'ignore_errors'):
self.ignore_errors = cp.getboolean('report', 'ignore_errors')
if cp.has_option('report', 'include'):
@@ -107,9 +108,11 @@ class CoverageConfig(object):
if cp.has_option('report', 'omit'):
self.omit = self.get_list(cp, 'report', 'omit')
if cp.has_option('report', 'partial_branches'):
- self.partial_list = self.get_line_list(cp, 'report', 'partial_branches')
+ self.partial_list = \
+ self.get_line_list(cp, 'report', 'partial_branches')
if cp.has_option('report', 'partial_branches_always'):
- self.partial_always_list = self.get_line_list(cp, 'report', 'partial_branches_always')
+ self.partial_always_list = \
+ self.get_line_list(cp, 'report', 'partial_branches_always')
if cp.has_option('report', 'precision'):
self.precision = cp.getint('report', 'precision')