flake8-import-style

A flake8 plugin to ensure explicit module imports


Keywords
flake8, python, quality-assurance
License
ISC
Install
pip install flake8-import-style==0.5.0

Documentation

flake8-import-style

Build Coverage PyPI

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.