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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a5722593834bd403e33b282e05e02d0d09679d0a04a927b82a9db63938d06c2 |
|
MD5 | c92aff391eb8f0f8058bdec81ce3800f |
|
BLAKE2b-256 | a3fb457b9178d0550de0e5d0c6ca63aec2efb960dcbf136e2be5af7ed23c1d0a |
Close
Hashes for flake8_import_single-0.1.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9648c4e8c837bfe8f4a37cd91933d87de60d15be328ebffb5936771f9bb902ad |
|
MD5 | 79f43ba730f359f6dd6e3b9ec89cdbe8 |
|
BLAKE2b-256 | 5a9811deee42aba72574a845f9e8c7126736f8a4cad2c2b2b66f8cc7c328d284 |