Skip to main content

Setuptools pep8 command

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

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”.

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

Release files for setuptools-pep8 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for setuptools-pep8 0.1.7
File Size Uploaded
setuptools-pep8-0.1.7.tar.gz 3.5 kB Details

Release files / setuptools-pep8-0.1.7.tar.gz

Download URL setuptools-pep8-0.1.7.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d129fe2f958596464f803ded6455d31038041ca503896f841e856d39a5f27253
BLAKE2b-256 checksum
How to use checksums
9aecfaa0b0d1f052ee7a037c58cae15ca00d07f0577f2525a5a35034e4a3f63f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.9.0

1 release file

0.2.0

1 release file

This release

0.1.7 This release

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page