Skip to main content

Flake8 plugin that requires single line imports

Project description

A Flake8 plugin that requires single line imports.

Build PyPI version Supported Python versions


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


$ 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)


Much thanks goes out to flake8-print as the basis for this plugin.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
flake8_import_single-0.1.5-py2.py3-none-any.whl (3.3 kB) Copy SHA256 hash SHA256 Wheel py2.py3
flake8-import-single-0.1.5.tar.gz (5.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page