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.3.dev12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90bcdb1367bcea7d570aed0ff8b87435b982fdb01eb89407a23e8bab5716d950 |
|
MD5 | cf4749fcbed84bea6486944aa90bc3e2 |
|
BLAKE2b-256 | 57c9c63c7dfc376f8514e6316555fa97adb78eaf87ce776b76e11ea93eeb58fc |
Close
Hashes for flake8_import_single-0.1.3.dev12-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7847ed62926e291b2ecc3a936d0852e91ab0271d50c08131579d5a3696cedbb5 |
|
MD5 | 4b579b37bde5cde52ea7a15f702eee29 |
|
BLAKE2b-256 | 7d2d52e9e8eda51588030dd443b222266929aa56eb0940193268f99df5376e77 |