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.dev8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 773230c9e5f22a0a5dd1cd2540971ed2f683586a4849f865066158c165d18e1c |
|
MD5 | f792b6cf7a709284c5159dd9ca29f1d1 |
|
BLAKE2b-256 | ab89748f31b4c1ed54474260011a3194b0306f38fb7114cb2f4b9e978dfc6994 |
Close
Hashes for flake8_import_single-0.1.3.dev8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19828b7cbc9f3f8f9d182290cf3ef798b808eb03dc16399d4498dda42bba23c2 |
|
MD5 | b0f64b4978cac60ba5a8f72956067a1f |
|
BLAKE2b-256 | e99d2aca565e3eb914bd11eb8ad0b89cdd6ba840bda6639ffbce6261df539548 |