summaryrefslogtreecommitdiff
path: root/coverage/__init__.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-10-28 12:04:43 -0400
committerNed Batchelder <ned@nedbatchelder.com>2012-10-28 12:04:43 -0400
commit84e60e92c11768443da0bd8275a88accc52c8c11 (patch)
treebf9cbbab94e60bbc7c01b46c56f15b5d00f352a0 /coverage/__init__.py
parente1054fec7ef8969b02094d565eea9a2b1ce727d8 (diff)
downloadpython-coveragepy-84e60e92c11768443da0bd8275a88accc52c8c11.tar.gz
Silence pylint a bit.
Diffstat (limited to 'coverage/__init__.py')
-rw-r--r--coverage/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/coverage/__init__.py b/coverage/__init__.py
index e2db3a5..2fc49d0 100644
--- a/coverage/__init__.py
+++ b/coverage/__init__.py
@@ -36,6 +36,10 @@ def _singleton_method(name):
called.
"""
+ # Disable pylint msg W0612, because a bunch of variables look unused, but
+ # they're accessed via locals().
+ # pylint: disable=W0612
+
def wrapper(*args, **kwargs):
"""Singleton wrapper around a coverage method."""
global _the_coverage