Flake8 plugin that requires single line imports
Project description
Flake8 Single Line Import Plugin
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.6.dev7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6be89a8c70d1c12b45a9727d72425a0dfe7753d3512274880f5e97223313def |
|
MD5 | ee5d24cb9d56e2327a054997c602d190 |
|
BLAKE2b-256 | 01e5a29bc045a72a3930780dbdd0a4fb838a4e76bee929416175b2e5ee5157eb |
Close
Hashes for flake8_import_single-0.1.6.dev7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3958b5123b3536939935ed1ae6aeb51a5db37d5139cc1c5c9014827692fcc90d |
|
MD5 | d2c13905952ca73644c67f89f8207b46 |
|
BLAKE2b-256 | d63b52db4d1182b30a76a23479188a91380669faa9a5ef5e50b91f935c948389 |