Skip to content

yoloseem/setuptools-pep8

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setuptools pep8 command

Based on https://github.com/johnnoone/setuptools-pylint

This package exposes the pep8 style guide checker as a sub-command of setup.py:

$ cat setup.py
...
    setup(
        name='your project',
        setup_requires=['setuptools-pep8']
    )
....
$ cat setup.cfg
...
[pep8]
ignore=E225
...
$ python setup.py pep8
running pep8
./setup.py:41:1: W391 blank line at end of file

This invokes pep8 and applies any configuration from your setup.cfg file's [pep8] section.

It skips packages named "test" or "tests".

About

Exposes the pep8 style guide checker as a sub-command of setup.py

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%