flake8-html
Generate HTML reports of flake8 violations
What it is and what it does
flake8-html is a flake8 plugin that transforms linting violations into an interactive HTML report. Instead of reading console output, you run flake8 with the --format=html flag and specify an output directory; the plugin generates a multi-page report with an index page, per-file breakdowns grouped by error code, and syntax-highlighted source listings showing exactly where violations occur.
The package depends on jinja2 for templating, pygments for syntax highlighting, and flake8 itself as the linting engine. It's designed as a drop-in formatter for flake8's reporting pipeline, so once installed, you invoke it purely through flake8's command-line options. The low install friction and permissive license make it straightforward to add to a CI/CD pipeline or local development workflow.
Use it for:
- Generate shareable HTML reports of code style violations for code review or team dashboards
- Create archived snapshots of linting results over time for quality trend tracking
- Provide developers with a visual, clickable interface to navigate and fix style issues in large codebases
- Integrate into CI/CD pipelines to produce human-readable linting artifacts alongside test results
- Display syntax-highlighted violations in a browser for easier identification of problem lines
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A flake8 plugin that converts code style violations into interactive HTML reports with syntax-highlighted source code and grouped error summaries.
Yes, if you need HTML-formatted flake8 reports and are comfortable with dormant maintenance. The package is stable, has no known vulnerabilities, and works with modern Python versions up to 3.9 as of its last release. However, verify compatibility with your specific flake8 version and Python 3.10+ if you use those, since no updates have shipped since 2022.
Install
flake8-html on PyPI
pip
pip install flake8-htmluv
uv add flake8-htmlpoetry
poetry add flake8-htmlInstalling flake8-html
Before you install
Low install friction with a pure-Python wheel distribution. Maintenance is dormant—last release was 2022-12-06 and no commits since 2024-11-26—but the package remains functional and has no known vulnerabilities.
License in practice
Licensed under Apache Software License 2.0 (permissive), allowing commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install flake8-html
flake8 --format=html --htmldir=flake-report
Verify before relying
- Whether the package remains compatible with flake8 versions released after 2022-12-06
- Current test coverage and whether it works reliably with modern Python 3.10+ interpreters
Package facts
| License | Apache Software License 2.0 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — jinja2, pygments, flake8, importlib-metadata |
| Maintenance | dormant — 1,347 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 170,342/month — #10,399 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: flake8_html-0.4.3-py2.py3-none-any.whl
Keywords: flake8, html
Tags
More Quality Assurance packages
Coverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
ruffRuff is a Python linter and code formatter…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
blackBlack reformats Python source code to a…
permissive · top 1,000 on PyPI
pytest-xdistpytest-xdist distributes pytest tests across…
permissive · top 1,000 on PyPI
cfn-lintValidates AWS CloudFormation templates in YAML…
permissive · top 1,000 on PyPI
flake8-noqaA flake8 plugin that validates the formatting…
copyleft · top 5,000 on PyPI
wemake-python-styleguideA flake8 plugin that enforces strict,…
permissive · top 15,000 on PyPI
flake8-djangoA flake8 plugin that detects Django-specific…
copyleft · top 15,000 on PyPI
flake8Flake8 is a command-line tool that combines…
permissive · top 1,000 on PyPI
flake8-printA flake8 plugin that detects print statements…
permissive · top 5,000 on PyPI
flake8-blackA flake8 plugin that runs black's code style…
permissive · top 15,000 on PyPI
flake8-pieA flake8 plugin that detects code quality…
permissive · top 15,000 on PyPI
flake8-pytest-styleA flake8 plugin that detects and reports style…
unclear · top 15,000 on PyPI
flake8-banditIntegrates bandit security checks into flake8…
permissive · top 15,000 on PyPI
flake8-gl-codeclimateA Flake8 formatter that outputs linting results…
permissive · top 15,000 on PyPI