Awesome
flake8-import-style
A flake8 plugin to ensure explicit module imports.
pip install flake8_import_style
flake8 *.py
Errors (enabled by default):
I801 use 'import ...' instead of 'from ... import ...'
Tested with Python 2.7, 3.4, 3.5, and 3.6.
Type make test
or tox
to run the test suite in a virtual environment.