We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f07ab57 commit ed36d8bCopy full SHA for ed36d8b
pep8.py
@@ -839,7 +839,8 @@ def imports_on_separate_lines(logical_line):
839
yield found, "E401 multiple imports on one line"
840
841
842
-def imports_on_top_of_file(logical_line, indent_level, checker_state, noqa):
+def module_imports_on_top_of_file(
843
+ logical_line, indent_level, checker_state, noqa):
844
r"""Imports are always put at the top of the file, just after any module
845
comments and docstrings, and before module globals and constants.
846
0 commit comments