Flake8 plugin that requires single line imports
Project description
A Flake8 plugin that requires single line imports.
Introduction
The following will result in an error:
from foo import bar, baz
It should be rewritten as:
from foo import bar from foo import baz
Installation
$ pip install flake8-import-single $ pip install --upgrade flake8-import-single
Plugin for Flake8
$ flake8 --version 3.5.0 (flake8-import-single: 0.1.2, mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.6.0)
Thanks
Much thanks goes out to flake8-print as the basis for this plugin.
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-import-single-0.1.6.dev4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeae728cdabfa68cf0f9c84bff437aa79773720580ed0455d6cf84c71ad342b5 |
|
MD5 | 0f1b58e1fa905fbfa27b32716aa6a61d |
|
BLAKE2b-256 | 18217bb1c9a80dd4923ad45f016549d9b7a0b7bed49b6acdb159a2760052da8b |
Close
Hashes for flake8_import_single-0.1.6.dev4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f3e9b0673de5c5f8f5dea6f646683241d77608d2c1cb41f53935593be5a1cf7 |
|
MD5 | bb109558e4f22ee7132d718773239c61 |
|
BLAKE2b-256 | 30baafb47d426b398305a23d0a5ff56a477ba6cb8bf408c95744346c9b9f91fb |