summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Cordasco <sigmavirus24@users.noreply.github.com>2016-06-07 15:51:58 -0500
committerIan Cordasco <sigmavirus24@users.noreply.github.com>2016-06-07 15:51:58 -0500
commit1fcd279740c9f028214c2364b3de750653bbf407 (patch)
tree48a5af4619076e9d8367e7213ca557aa62fed69a
parent6cb59d685e635a72db2230d75b61aed99ac86b29 (diff)
parent95ed8490093efaaa119f3227894481c4a0c05599 (diff)
downloadpep8-1fcd279740c9f028214c2364b3de750653bbf407.tar.gz
Merge pull request #540 from sigmavirus24/remove-warnings
Remove unused imports and assignments
-rwxr-xr-xpycodestyle.py3
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):