Skip to content

ericbn/flake8-import-style

 
 

Repository files navigation

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.

About

A flake8 plugin to ensure explicit module imports

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 83.0%
  • Makefile 17.0%