Closed whirm closed 9 years ago
Agreed.
@birkenfeld are you planning on working on this anytime soon? If not, I will try to do it when I have some spare time.
Sure, go ahead :)
Is it OK if the default is to group by parentheses when there are neither backslash nor parentheses grouped imports? Thats the proposed way in PEP0328
Hm, this is probably something we want to have an option for. Something like
Imports.set_style(multiline='parenthesis') # or 'backslash' or 'many'
More kwargs could be added (ordering by alphabet or by module name length, handling of newlines between imports, ...)
It should keep whatever style is in use.
Thanks for your amazing work! :)