diff options
author | Ian Lee <IanLee1521@gmail.com> | 2014-12-15 19:49:16 -0800 |
---|---|---|
committer | Ian Lee <IanLee1521@gmail.com> | 2014-12-20 18:54:58 -0800 |
commit | 17e3b14a97c19704bf35221f89ac0567777ed7ad (patch) | |
tree | c22ba911ad25cc15cd3608843a4971fa2aac5057 | |
parent | 373e0ac1138f0e24422b5e2e78f02ed0557d5c23 (diff) | |
download | pep8-17e3b14a97c19704bf35221f89ac0567777ed7ad.tar.gz |
Update E402 error message emitted
-rwxr-xr-x | pep8.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -876,7 +876,7 @@ def module_imports_on_top_of_file( line = logical_line if line.startswith('import ') or line.startswith('from '): if checker_state.get('seen_non_imports', False): - yield 0, "E402 import not at top of file" + yield 0, "E402 module level import not at top of file" elif any(line.startswith(kw) for kw in allowed_try_keywords): # Allow try, except, else, finally keywords intermixed with imports in # order to support conditional importing |