alecthomas / importmagic

A Python library for finding unresolved symbols in Python code, and the corresponding imports
BSD 2-Clause "Simplified" License
120 stars 20 forks source link

deeply-nested relative imports get mangled #65

Open glyph opened 1 year ago

glyph commented 1 year ago

I have a line like from ...._util import a, b and it is consistently getting reformatted by importmagic into from ._util import a, b.