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.dev9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8736d3abd3ecfbb8d8f4891743477f97b201b9dbf84f4ab8c6595d4fd455112c |
|
MD5 | ead3cd17925ab0e2eac3264b99274fb8 |
|
BLAKE2b-256 | d48a6f4b011f600feeba772f8a1910db2973cc19e5e5a21bd8b0ead11b5d2ca5 |
Close
Hashes for flake8_import_single-0.1.3.dev9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec37b0c07cbf46efe401f68e9e0b9e76f6b4ca0654c0db16de736f77e7dcd895 |
|
MD5 | c9d9f817c4f350102dbe6936ea491991 |
|
BLAKE2b-256 | 114292b14c2c537a916983ed697a207bae370885b478446c5c08fca32eb07042 |