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

Imports should usually be on separate lines #80

Closed
jalanb opened this issue Nov 25, 2013 · 2 comments
Closed

Imports should usually be on separate lines #80

jalanb opened this issue Nov 25, 2013 · 2 comments
Labels
enhancement New feature or request

Comments

@jalanb
Copy link

jalanb commented Nov 25, 2013

It would be nice to have a configurable option to allow multiple "from a import b" lines, instead of forcing them all to be on a single line, e.g. to allow

from a import b
from a import c

instead of

from a import b, c

PEP 8 says that the latter is "OK", but it seems to be phrased as an exception to the basic idea of "Imports should usually be on separate lines"

@timothycrosley
Copy link
Member

Thanks for the suggestion! I agree this would be useful, and will make sure it gets in before the next release

timothycrosley added a commit that referenced this issue Dec 1, 2013
@timothycrosley
Copy link
Member

Implemented in release 2.6.0, thanks for the idea!

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

No branches or pull requests

2 participants