Transforms pep8 or flake8 output into an HTML report.
Project description
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>
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.
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
Built Distributions
Hashes for pepper8-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00652e5a9074dafbfb028e444c2cafa270965ad8d1949cf066decbb70e253fa0 |
|
MD5 | 998dc8d9c312187e64aae8fe5e7a6304 |
|
BLAKE2b-256 | 21f1f7500ca7bb7e13b0e49dc46cba134b821b8b9222d9d49d2d326d798b74f3 |