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.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8033db0e8de3b9647b17566df4cdf6a0296014dd682eaa6007e8ff574f3f0e68 |
|
MD5 | 92c3fa9bafff806f9054896abe06f62b |
|
BLAKE2b-256 | 1586d342985fae0f80d6a4b6133065c96a6aaf131b2ac0c81a5b10975fa244a3 |
Close
Hashes for flake8_import_single-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 997be49311aa762662b6b0914108cac736e4eedfde1b022120b75129bd90c81d |
|
MD5 | cfa32bdcfa0f0b1c38d71d142b4de1af |
|
BLAKE2b-256 | c4a241a34da8c7df63916964d6d975c67efbe8b066d72234bf5fa32518efcc2b |