Registry / testing / flake8-junit-report

flake8-junit-report

JSON →
library2.1.0pypypiunverified

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.

pip install flake8-junit-report
INSTALL
IMPORT
SIG · FLAKE8-JUNIT-REPOR
F
flake8-junit-report
testingpythonv2.1.0
Install
2.4s avg
Import
—
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
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
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.2MB
glibc
py 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.

Flake8JunitReport
✓ from flake8_junit_report.junit_conversor import Flake8JunitReport
✗ from flake8_junit_report 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
Debug
Known issues
gotchaInput must be flake8 plain text output, not JSON or other formats.
fix
Use flake8 with default output format (e.g., flake8 > flake8_output.txt).
affects: all
gotchaInstalling with hyphens in package name (e.g., flake8-junit-report) works, but imports use underscores.
fix
Use import flake8_junit_report.
affects: all
Upgrade
Version history
2.1.0latest on PyPI · released May 11, 2016
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
flake8-junit-report — pip install flake8-junit-report · libregistry