Skip to content

awiddersheim/flake8-import-single

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flake8 Single Line Import Plugin

A Flake8 plugin that requires single line imports.

PyPI version Python Versions Build Status License

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.

About

Flake8 plugin that requires single line imports.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages