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.dev10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1878868246f9f7bed4010eb7b6f5350dc6bcd96e63e2501114046e29d89d226b |
|
MD5 | f36610bb683c04acc433d96f73537f2c |
|
BLAKE2b-256 | c6984e99a354c84273ea7b61be7806ac09d2a4006467d3ba090d6343503d2837 |
Close
Hashes for flake8_import_single-0.1.3.dev10-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dfb9435dc17d25053cd7f0ed8745c451890558581cc8554409025a0dc94c941 |
|
MD5 | b9aca55d9e7cd66c6307e6153771cdeb |
|
BLAKE2b-256 | 5d84f09baad0b60baf432f81d74326d263a989bac5361111b73420e705542968 |