A flake8 plugin to ensure typing module import convention
Project description
flake8-import-style
A flake8 plugin to ensure explicit module imports.
pip install flake8_typing_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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for flake8-typing-import-style-0.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1354254402b0724139dcb0ee99c5b6b7055c341caae4a5d631419b137968fc8 |
|
MD5 | 8eca746d5f824e2751ab0c0a4224eb8d |
|
BLAKE2b-256 | 6f94e10b13a3ca684ba17366d19c556dd54794db12982abdad77acb7854e88ea |
Close
Hashes for flake8_typing_import_style-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e64d7c992c681fedc87a0e93fec52156bc3b528b704fe4c1cbdf265788e8e94 |
|
MD5 | 0a38d4cdb4139c6f4726e391f9ee5d77 |
|
BLAKE2b-256 | 22f5c24b31b24f6020670f7b4303a729cadbcc560d8e316f7f7451735050eccb |