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.dev7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2614fd564d8605c0d43a229863218384fd49e8a18c369b1113a1b54c1371ada |
|
MD5 | 576ca41681b457ac27866d8e1196d665 |
|
BLAKE2b-256 | d4623c6f83b5290f52f67ef056c5163a1de24525cee923540fd0c38d8069aa55 |
Close
Hashes for flake8_import_single-0.1.3.dev7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5787149dfa73e4b7f8746a84e60554dffda9cecfdb5f752044c3378712f55f8c |
|
MD5 | e4c56809eb6c6ad59f996854fb853db9 |
|
BLAKE2b-256 | 86e2405c66846648626ff7940c5550840884861edb1dbbdbc17acd750668adad |