Skip to content

Commit 1fcd279

Browse files
committed
Merge pull request #540 from sigmavirus24/remove-warnings
Remove unused imports and assignments
2 parents 6cb59d6 + 95ed849 commit 1fcd279

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

pycodestyle.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
import sys
5656
import time
5757
import tokenize
58-
import warnings
5958

6059
from fnmatch import fnmatch
6160
from optparse import OptionParser
@@ -1203,10 +1202,8 @@ def ambiguous_identifier(logical_line, tokens):
12031202
yield start, "E743 ambiguous function definition '%s'" % text
12041203
if ident:
12051204
yield pos, "E741 ambiguous variable name '%s'" % ident
1206-
prev_type = token_type
12071205
prev_text = text
12081206
prev_start = start
1209-
prev_end = end
12101207

12111208

12121209
def python_3000_has_key(logical_line, noqa):

0 commit comments

Comments
 (0)