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 373e0ac commit 17e3b14Copy full SHA for 17e3b14
pep8.py
@@ -876,7 +876,7 @@ def is_string_literal(line):
876
line = logical_line
877
if line.startswith('import ') or line.startswith('from '):
878
if checker_state.get('seen_non_imports', False):
879
- yield 0, "E402 import not at top of file"
+ yield 0, "E402 module level import not at top of file"
880
elif any(line.startswith(kw) for kw in allowed_try_keywords):
881
# Allow try, except, else, finally keywords intermixed with imports in
882
# order to support conditional importing
0 commit comments