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.dev13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b88d3655a88c50348f6ce15c2519fd0891f8d7e425db01ed522849d652209963 |
|
MD5 | adcdcadcab2882e1642b9c54a6cbb6b3 |
|
BLAKE2b-256 | 62879a3df60993201ae1af306c16a9fe8ef966afe915df820264d7cdc7f8106c |
Close
Hashes for flake8_import_single-0.1.3.dev13-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dcc5ec4bba37865e5ca6e87669ffb21d879ee9a649988e887feaec6d170d5a7 |
|
MD5 | 1133f9660edc5052bdd3e9b477488cb8 |
|
BLAKE2b-256 | 76d8928682f9e1ccdcd88183d6581dc58077450e80c17e6f886f14898001e354 |