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

Followed pep8 but got an "E402 module level import not at top of file" #641

Closed
uvchik opened this issue Apr 25, 2017 · 1 comment
Closed

Comments

@uvchik
Copy link

uvchik commented Apr 25, 2017

I followed https://www.python.org/dev/peps/pep-0008/#module-level-dunder-names and got an E402 module level import not at top of file. Is this a bug or do I misunderstand something?

@sigmavirus24
Copy link
Member

Please search for open and closed issues before opening new ones. Here are other issues discussing this same issue:

This is a limitation of the way pycodestyle works.

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

No branches or pull requests

2 participants