Closed philtay closed 6 years ago
Isn't the I202
due to the newline between these two imports in this case? If so (depending on the style you are using) it is likely correct.
Yes, it's the newline between the imports. Look how ugly it is without:
from .foo import (
bar,
baz,
)
from .zoo import (
mux,
mox,
)
from .moo import (
yux,
yox,
)
I think that multiline imports should be allowed to be separated by a newline.
The following snippet triggers an I202 error:
I think that a blank line should be allowed when a single import spans multiple lines.