skillfed

flake8-html

Generate HTML reports of flake8 violations

flake8-html v0.4.3 170.3K downloads/30d#10,399 on PyPI50
Permissive license Apache Software License 2.0 DORMANT released

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-html

uv

uv add flake8-html

poetry

poetry add flake8-html

Installing 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

Development Status :: 4 - BetaFramework :: Flake8Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

flake8 html report generatorcode style violations htmlflake8 visual reportpython linting html outputflake8 report formattingcode quality html dashboardflake8 violations visualization
flake8-plugincode-qualityhtml-reporting

More Quality Assurance packages