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.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.1.tar.gz (12.4 kB view hashes)

Uploaded Source

Built Distribution

flake8_html-0.4.1-py2.py3-none-any.whl (13.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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