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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83bd27c663d292bc420a9c4645bcb72ce479e506461dcf1b60cf0f8c2b00f2e8 |
|
MD5 | 8a183978ddc98258483acfcedbff618c |
|
BLAKE2b-256 | 30456989de3e17badd21b8d0cfeec85913c7bcb8e850369ddae73f5fb19e234f |
Close
Hashes for flake8_import_single-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e8476b67926ceab52578700b60a1fc2a5fade12ecf8c6e640789a872be023c6 |
|
MD5 | 9953e8836471661b7478b212cb1a5f98 |
|
BLAKE2b-256 | 11ec156003f2ba515761697fda76d1dba4a0a15ba7b96d1a7a7e2866ee06fc94 |