skillfed

flake8-formatter-junit-xml

JUnit XML Formatter for flake8

flake8-formatter-junit-xml v0.0.6 183.2K downloads/30d#10,071 on PyPI17
Permissive license MIT DORMANT released

What it is and what it does

This is a flake8 plugin that redirects linting violations into JUnit XML format instead of flake8's default text output. It depends on flake8 for linting and junit-xml to generate the XML structure, making it a thin adapter between the two.

You install it alongside flake8, then pass `--format junit-xml` to flake8's command line. The result is an XML report that CI/CD pipelines, test aggregators, and IDE test runners can parse and display. It's designed for teams that already use JUnit-based reporting infrastructure and want linting results in the same format as their unit tests.

Use it for:

  • Integrate flake8 linting into Jenkins or other CI systems that natively consume JUnit XML reports
  • Aggregate Python linting violations alongside unit test results in a single test report
  • Feed flake8 output to IDE test runners or reporting dashboards that expect JUnit format
  • Archive linting violations in a machine-readable format for compliance or audit trails

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Formats flake8 linting output as JUnit XML, enabling integration with CI/CD systems and test reporting tools that consume JUnit format.

Yes, if you need JUnit XML output from flake8 and your CI/CD pipeline already expects that format. Install friction is minimal and there are no known vulnerabilities. However, the package is dormant (last release April 2018) and untested against recent flake8 versions, so verify compatibility with your current flake8 before relying on it in production.

Install

flake8-formatter-junit-xml on PyPI

pip

pip install flake8-formatter-junit-xml

uv

uv add flake8-formatter-junit-xml

poetry

poetry add flake8-formatter-junit-xml

Installing flake8-formatter-junit-xml

Before you install

Low friction install with just two runtime dependencies (flake8 and junit-xml). Package is dormant—last release in April 2018, no commits since October 2023—but the archived flag is false and it carries no known vulnerabilities, so it remains usable for its narrow purpose.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.

Quickstart

pip install flake8-formatter-junit-xml
flake8 --format junit-xml path/to/code.py

Verify before relying

  • Whether the package works with current flake8 versions (last tested in 2018)
  • Whether junit-xml output format remains compatible with modern CI systems

Package facts

License MIT (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 2 — flake8, junit-xml
Maintenance dormant — 3,047 days since the last release
Last repo commit
First released
Downloads 183,209/month — #10,071 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: flake8_formatter_junit_xml-0.0.6-py2.py3-none-any.whl

Environment :: ConsoleFramework :: Flake8Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality Assurance

Tags

flake8 junit xml outputflake8 ci integration formatterjunit xml linting reportsflake8 test report formatci cd linting results
ci-integrationlinting-output

More Python Modules packages