diff options
author | Ian Cordasco <sigmavirus24@users.noreply.github.com> | 2016-06-07 15:51:58 -0500 |
---|---|---|
committer | Ian Cordasco <sigmavirus24@users.noreply.github.com> | 2016-06-07 15:51:58 -0500 |
commit | 1fcd279740c9f028214c2364b3de750653bbf407 (patch) | |
tree | 48a5af4619076e9d8367e7213ca557aa62fed69a | |
parent | 6cb59d685e635a72db2230d75b61aed99ac86b29 (diff) | |
parent | 95ed8490093efaaa119f3227894481c4a0c05599 (diff) | |
download | pep8-1fcd279740c9f028214c2364b3de750653bbf407.tar.gz |
Merge pull request #540 from sigmavirus24/remove-warnings
Remove unused imports and assignments
-rwxr-xr-x | pycodestyle.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pycodestyle.py b/pycodestyle.py index a5141f2..b5f6ef1 100755 --- a/pycodestyle.py +++ b/pycodestyle.py @@ -55,7 +55,6 @@ import re import sys import time import tokenize -import warnings from fnmatch import fnmatch from optparse import OptionParser @@ -1203,10 +1202,8 @@ def ambiguous_identifier(logical_line, tokens): yield start, "E743 ambiguous function definition '%s'" % text if ident: yield pos, "E741 ambiguous variable name '%s'" % ident - prev_type = token_type prev_text = text prev_start = start - prev_end = end def python_3000_has_key(logical_line, noqa): |