Derived from the pycodestyle linter.
What it does#
Checks for imports that are not at the top of the file.
Why is this bad?#
According to PEP 8, "imports are always put at the top of the file, just after any module comments and docstrings, and before module globals and constants."