Skip to content

Commit 5954a4a

Browse files
committed
Remove unused imports.
Signed-off-by: Daira Hopwood <[email protected]>
1 parent 228a7c3 commit 5954a4a

File tree

5 files changed

+1
-7
lines changed

5 files changed

+1
-7
lines changed

libmodernize/fixes/fix_dict_six.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
from __future__ import absolute_import
33

44
# Local imports
5-
from lib2to3 import fixer_base
65
from lib2to3 import fixer_util
7-
from lib2to3 import patcomp
86
from lib2to3.fixes import fix_dict
97
import libmodernize
108

libmodernize/fixes/fix_metaclass.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
# Local imports
3131
from lib2to3 import fixer_base
3232
from lib2to3.pygram import token
33-
from lib2to3.fixer_util import Name, syms, Node, Leaf, Call, \
34-
String, Comma, parenthesize
33+
from lib2to3.fixer_util import Name, syms, Node, Leaf, Call, Comma
3534
from libmodernize import touch_import
3635

3736

libmodernize/fixes/fix_unicode.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from __future__ import absolute_import
22

33
import re
4-
from lib2to3.pgen2 import token
54
from lib2to3 import fixer_base
65
from lib2to3.fixer_util import Name, Call
76
from libmodernize import touch_import

libmodernize/fixes/fix_xrange_six.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from __future__ import absolute_import
44

55
from lib2to3 import fixer_base
6-
from lib2to3.fixer_util import Call, Name
76
from lib2to3.fixes import fix_xrange
87
from libmodernize import touch_import
98

tests/test_fixes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from __future__ import absolute_import
22

33
from lib2to3 import refactor
4-
import sys
54

65
from libmodernize import fixes
76

0 commit comments

Comments
 (0)