summaryrefslogtreecommitdiff
path: root/coverage/backward.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/backward.py')
-rw-r--r--coverage/backward.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/coverage/backward.py b/coverage/backward.py
index e839f6bd..3372a8b3 100644
--- a/coverage/backward.py
+++ b/coverage/backward.py
@@ -2,8 +2,6 @@
# This file does lots of tricky stuff, so disable a bunch of lintisms.
# pylint: disable=redefined-builtin
-# pylint: disable=import-error
-# pylint: disable=no-member
# pylint: disable=unused-import
# pylint: disable=no-name-in-module
@@ -50,7 +48,7 @@ else:
if sys.version_info >= (3, 0):
# Python 3.2 provides `tokenize.open`, the best way to open source files.
import tokenize
- open_python_source = tokenize.open # pylint: disable=E1101
+ open_python_source = tokenize.open
else:
def open_python_source(fname):
"""Open a source file the best way."""
@@ -153,7 +151,7 @@ def import_local_file(modname):
break
with open(modfile, 'r') as f:
- # pylint: disable=W0631
+ # pylint: disable=undefined-loop-variable
# (Using possibly undefined loop variable 'suff')
mod = imp.load_module(modname, f, modfile, suff)