Skip to content
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

Should combine imports (in reasonable cases) #16

Closed
thatch opened this issue Sep 14, 2020 · 0 comments · Fixed by #81
Closed

Should combine imports (in reasonable cases) #16

thatch opened this issue Sep 14, 2020 · 0 comments · Fixed by #81

Comments

@thatch
Copy link
Contributor

thatch commented Sep 14, 2020

For imports that don't have inline comments, we can combine and reorder their names. This is a common request, and although I don't want to do much in the way of formatting, we can support the common case pretty easily.

from os import signal
from os import path

becomes

from os import path, signal

Sorting names within a single statement is a simple case of this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant