pyimport icon indicating copy to clipboard operation
pyimport copied to clipboard

Doesn't handle multi-line import statements

Open verhovsky opened this issue 6 years ago • 1 comments

from datetime import datetime, \
    timedelta

turns into

from datetime import \
    timedelta

instead of removing both lines.

verhovsky avatar Nov 05 '19 17:11 verhovsky

It also doesn't do anything when the imports are formatted like this, with parentheses:

from a.b.c import (
    D,
    E,
)

Lenbok avatar Dec 17 '20 01:12 Lenbok