pyimport
pyimport copied to clipboard
Doesn't handle multi-line import statements
from datetime import datetime, \
timedelta
turns into
from datetime import \
timedelta
instead of removing both lines.
It also doesn't do anything when the imports are formatted like this, with parentheses:
from a.b.c import (
D,
E,
)