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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd954621896e82d64875371bbb8bdbf2a3bc1907621d7a65ff3baa60b44a0b49 |
|
MD5 | 76c3e062b9c8b5b6dfe8cec9fd97090f |
|
BLAKE2b-256 | 5ae2a0e34059bc322f470a8c99781b33b7af5612197b2b7fa2047c30ea505d9f |
Close
Hashes for flake8_import_single-0.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f36a869d8210eb935ae3c6b92f08cf6e65404b982556b171873dc27daccd384 |
|
MD5 | 4dfe7968c27feacd2f3762ccd309f306 |
|
BLAKE2b-256 | a85b5fb5b407cf55f40c2092d66388c25d66651791d2e1012fda42c0ae765628 |