From 84e60e92c11768443da0bd8275a88accc52c8c11 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 28 Oct 2012 12:04:43 -0400 Subject: Silence pylint a bit. --- coverage/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'coverage/__init__.py') 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 -- cgit v1.2.1