Simple tool that converts flake8 output to JUnit XML format for integration with CI/CD systems like Jenkins. Version 2.1.0 is the latest; actively maintained with a pip install.
Install & Compatibility
Where this runs
tested against v2.1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.2MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 2.4s · import 0.000s · 20MB
17MB installed
● package 17MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
from flake8_junit_report.junit_conversor import Flake8JunitReport
Parse flake8 output and generate JUnit XML.
from flake8_junit_report import Flake8JunitReport
# Example: parse flake8 output from file
with open('flake8_output.txt', 'r') as f:
report = Flake8JunitReport.from_flake8_output(f.read())
# Write JUnit XML
with open('junit.xml', 'w') as f:
f.write(report.to_xml())
flake8-junit-report --version
Upgrade
Version history
Breaking-change detection hasn't run for this library yet.
Audit
Security & dependencies
CVE tracking and dependency tree are planned for a later release.