flake8-formatter-junit-xml
JUnit XML Formatter for flake8
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-xmluv
uv add flake8-formatter-junit-xmlpoetry
poetry add flake8-formatter-junit-xmlInstalling 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
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
junit-xml-2Generates JUnit XML test result reports from…
permissive · top 15,000 on PyPI
flake8-junit-report-basicConverts flake8 linting output to JUnit XML…
permissive · top 5,000 on PyPI
flake8-jsonA Flake8 plugin that formats linting output as…
permissive · top 15,000 on PyPI
flake8-junit-reportConverts flake8 linting output to JUnit XML…
permissive · top 15,000 on PyPI
junit-xmlGenerates JUnit XML test result documents…
permissive · top 5,000 on PyPI
pylint-junitGenerates JUnit-formatted XML reports from…
permissive · top 15,000 on PyPI
flake8-gl-codeclimateA Flake8 formatter that outputs linting results…
permissive · top 15,000 on PyPI
unittest-xml-reportingA unittest test runner that exports test…
permissive · top 5,000 on PyPI
cmake-formatFormats, lints, and annotates CMake listfiles,…
copyleft · top 15,000 on PyPI
fastcovFastcov generates code coverage reports in…
permissive · top 15,000 on PyPI