-
-
Notifications
You must be signed in to change notification settings - Fork 564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
beautify __future__ #93
Comments
Hi Laszlo, I'm glad you find the project useful! I think this it a great suggestion, and Ill try to add general support for balanced wrapping for the next release. Thanks! Timothy |
This is now available in version 3.1.0 with the 'balanced_wrapping' option: https://github.com/timothycrosley/isort#intelligently-balanced-multi-line-imports Thanks again! Timothy |
Thanks to you for the quick reaction :) How to make this behaviour the default in vim? I use vundle and I just added this line:
I just select the import lines and press |
I think it should be as simple as putting the following into an .isort.cfg file in your home directory:
and updating to the latest isort:
Let me know if you encounter any problems :) |
Thanks for your help. It works now with vim and it does balancing too :) Good job! |
Hi,
Thanks for this great project, I use it via vim and it works very well for me.
I have a little suggestion concerning the
__future__
statement. isort formats it like this:I would like to see
print_function
in the next line:It looks more balanced :) It's not a big thing, I know.
Best,
Laszlo
The text was updated successfully, but these errors were encountered: