Skip to main content

Generate HTML reports of flake8 violations

Project description

flake8-html

https://img.shields.io/pypi/v/flake8-html.svg https://img.shields.io/travis/lordmauve/flake8-html.svg Updates

A flake8 plugin to generate HTML reports of flake8 violations.

Simply

$ pip install flake8-html

Then run flake8 passing the --format=html option and a --htmldir:

$ flake8 --format=html --htmldir=flake-report

Screenshots

Report index page:

https://github.com/lordmauve/flake8-html/raw/master/screenshots/report-index.png

Per-file report, grouped by error code:

https://github.com/lordmauve/flake8-html/raw/master/screenshots/file-report.png

Annotated, syntax-highlighed source code:

https://github.com/lordmauve/flake8-html/raw/master/screenshots/annotated-source.png

License

  • Free software: Apache Software License 2.0

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.4.2 (2022-04-13)

  • Fix compatibility with Python 3.9+

0.4.1 (2020-05-13)

  • Fix: add compatibility with flake8 3.8.*

0.4.0 (2017-07-06)

  • New: Add --htmlpep8 option to produce normal flake8 console output

  • Fix: Allow all flake8-html settings to be read from flake8 config

0.3.0 (2017-05-24)

  • New: Add --htmltitle option to set page title

0.2.0 (2017-03-06)

  • New: use SVG icons instead of Unicode characters

  • New: deduplicate the same error on the same line

0.1.1 (2017-03-02)

  • Fix: missing templates in sdist.

0.1.0 (2017-03-01)

  • First release on PyPI.

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

flake8-html-0.4.2.tar.gz (13.5 kB view hashes)

Uploaded source

Built Distribution

flake8_html-0.4.2-py2.py3-none-any.whl (13.0 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page