Skip to main content

pep8 command for setuptools

Project description

.. image:: https://pypip.in/d/setuptools-pep8/badge.png
:target: https://pypi.python.org/pypi/setuptools-pep8

=========================
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".

.. _`pep8` : http://pypi.python.org/pypi/pep8



======
News
======

0.1.5
-------

*Release date: 3-Dec-2013*

* Bugfix: missing NEWS.rst in manifest

0.1.4
-------

*Release date: 3-Dec-2013*

* @yoloseem fixed indentation bug
* Fixed setup.cfg parsing of include / exclude directives

0.1.3
-------

*Release date: 6-Oct-2013*

* Fixed github issue #1: Setting pep8 directives in setup.cfg doesn't work
* Exposed --check-dirs= option to control which modules are checked
* Fixed incorrect handling of stdout/stderr when redirecting pep8 output to a file

0.1.2
-------

*Release date: 4-Oct-2013*

* Fork of https://github.com/johnnoone/setuptools-lint
* Adds in config parsing from setup.cfg
* Semantic versioning

Project details


Download files

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

Source Distribution

setuptools-pep8-0.1.5.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file setuptools-pep8-0.1.5.tar.gz.

File metadata

File hashes

Hashes for setuptools-pep8-0.1.5.tar.gz
Algorithm Hash digest
SHA256 64e5b84f8208b339910506315fc04f6f65746bdb279d9e24fa7fb249625de142
MD5 917d3626a99ae9a4c02f442760702a3d
BLAKE2b-256 a691e9421f8ea4c749cf9ae088751bec87d6ca8c35f880397c99b7f38d174916

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page