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 (import-single: 0.0.1, 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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3008aef9d041f1584b873601de0d6995f523393ef0b7f3beae4001d2a6c105b |
|
MD5 | a9a6ca88e59f8fa239db5568cdbbe7a6 |
|
BLAKE2b-256 | f6224b6e27b7f00c48a4eaf72fa8cef755148f9b597bde5463e5361a53faae68 |
Close
Hashes for flake8_import_single-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 104cae400485b41fa61486e00ab09f0071ab71419b82db93cd08abef792948df |
|
MD5 | 988c9fd79f224355cae6836d1b5d8f9f |
|
BLAKE2b-256 | dcc2937bb808e9b92adb7437efae0cffffcc8d4e3c99dd7ac77f6266529374b8 |