Skip to main content
Pepper8 Version Requirements Status

Transform pep8 or flake8 output to HTML

To install pepper8, simply use pip.

pip install pepper8

Or you can clone the latest master branch and build using setuptools

git clone git@github.com:myth/pepper8.git && cd pepper8 && python setup.py install

Usage

pepper8 operates in two different input modes and two different output modes. To read pep8 / flake8 status reports from file use

pepper8 -o report.html <filename>

or you can pipe output from another file or process

cat flake8.out | pepper8 > report.html

If no output file is specified with -o, the HTML report is written to stdout, allowing output redirection or piping

pepper8 <filename> | less

Build statistics

When pepper8 is run using an output file -o <filename>, it will check its run environment and print out available build statistics to stdout.

Currently, only TeamCity build statistics are supported with keys pepper8warnings and pepper8errors.

If you wish to enable full parsing of all PEP 8 / Flake8 errors as failures in TeamCity, there already exists a package called TeamCity-messages which will be treated as build errors in TeamCity.

The TeamCity build statistics provided by pepper8 is only intended to provide statistical data for use in custom build report graphs in addition to the HTML report.

Screenshots from TeamCity integration

Pepper8 PEP 8 HTML Report

Pepper8 PEP 8 HTML Report

TeamCity custom chart data using custom buildStatistics messages if run under TeamCity

Custom TeamCity Flake8/PEP8 Warning/Error build metrics

Changelog

1.1.0

Expand pepper8 to account for all possible alphanumeric violation codes on a [A-Z][0-9]{3,4} format. Updated broken link to flake8-readthedocs.

1.0.4

Fixed a Python 2 and 3 compatibility issue. Added changelog to README.

1.0.3

Fixed a bug causing missed statistics for last file. Split the title summary stats into the Flake8 plugins.

1.0.2

Changed links in HTML report to default to new window. This prevents TeamCity to display blank page due to loading of “unsafe scripts” inside the iframe.

1.0.1

A few bugfixes

1.0.0

Initial release

Metadata

Release files for pepper8 1.1.1

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

Source distribution (sdist)

Source distribution for pepper8 1.1.1
File Size Uploaded
pepper8-1.1.1.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pepper8 1.1.1
File Interpreter ABI Platform
pepper8-1.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 19.9 kB

Release files / pepper8-1.1.1.tar.gz

Download URL pepper8-1.1.1.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cec945d2eb43f09a9652f5239d5ee38aef2c8d138411e120be01a783174c26a9
BLAKE2b-256 checksum
How to use checksums
5001f59de4a56ac6a4245c710893938f6899acc4bf574b31e8937a456b519733
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pepper8-1.1.1-py2.py3-none-any.whl

Download URL pepper8-1.1.1-py2.py3-none-any.whl
Size 11.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
2fe0f30fba83e7ebeb1168b8ae7dae576bdb891581677536a4ad4731cee92494
BLAKE2b-256 checksum
How to use checksums
7dd7135e7ee0c93423949c67452c855c90ca5572cec26fabb2b1934766cb7e0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

3 release files

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