setuptools-pep8

pep8 command for setuptools


Keywords
pep8, setuptools, command
License
BSD-3-Clause
Install
pip install setuptools-pep8==0.9.0

Documentation

Setuptools pep8 command

https://travis-ci.org/CraigJPerry/setuptools-pep8.png?branch=master https://pypip.in/d/setuptools-pep8/badge.png

Originally 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. Typical use cases include simplification of continuous-integration job configurations.