diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2014-11-23 07:30:07 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-11-23 07:30:07 -0500 |
commit | 737f8ffa024563fb8315f94cdf1484aa7bdb6eaa (patch) | |
tree | 4f509ac85244bdb4b251b1134257e0eadb020f62 /coverage/backward.py | |
parent | df5b3c800fdf4a2eef373196b1f0a166279a3566 (diff) | |
parent | d0a872c92e0e8c6ebb9530c2b61f2b9582612fb4 (diff) | |
download | python-coveragepy-737f8ffa024563fb8315f94cdf1484aa7bdb6eaa.tar.gz |
Merged pull request 43: --skip-covered
Diffstat (limited to 'coverage/backward.py')
-rw-r--r-- | coverage/backward.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/coverage/backward.py b/coverage/backward.py index e839f6b..3372a8b 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) |