{"id":23735,"library":"flake8-junit-report","title":"flake8-junit-report","description":"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.","status":"active","version":"2.1.0","language":"python","source_language":"en","source_url":"https://github.com/initios/flake8-junit-report","tags":["flake8","junit","testing","CI"],"install":[{"cmd":"pip install flake8-junit-report","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"wrong":"from flake8_junit_report import Flake8JunitReport","symbol":"Flake8JunitReport","correct":"from flake8_junit_report.junit_conversor import Flake8JunitReport"}],"quickstart":{"code":"from flake8_junit_report import Flake8JunitReport\n\n# Example: parse flake8 output from file\nwith open('flake8_output.txt', 'r') as f:\n    report = Flake8JunitReport.from_flake8_output(f.read())\n\n# Write JUnit XML\nwith open('junit.xml', 'w') as f:\n    f.write(report.to_xml())","lang":"python","description":"Parse flake8 output and generate JUnit XML."},"warnings":[{"fix":"Use flake8 with default output format (e.g., flake8 > flake8_output.txt).","message":"Input must be flake8 plain text output, not JSON or other formats.","severity":"gotcha","affected_versions":"all"},{"fix":"Use import flake8_junit_report.","message":"Installing with hyphens in package name (e.g., flake8-junit-report) works, but imports use underscores.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'2.1.0':23 'activ':27 'ci':36 'ci/cd':18 'convert':8 'flake8':2,9,33 'flake8-junit-report':1 'format':14 'instal':32 'integr':16 'jenkin':21 'junit':3,12,34 'latest':26 'like':20 'maintain':28 'output':10 'pip':31 'report':4 'simpl':5 'system':19 'test':35 'tool':6 'version':22 'xml':13","created_at":"2026-05-01T08:09:21.334520+00:00","updated_at":"2026-05-01T08:09:21.334520+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nModuleNotFoundError: No module named 'flake8_junit_report'"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"2.1.0","cli_name":"flake8-junit-report","cli_version":"sh: 1: flake8-junit-report: not found","type":"library","homepage":null,"github":"https://github.com/initios/flake8-junit-report","docs":null,"changelog":null,"pypi":"https://pypi.org/project/flake8-junit-report/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing","devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}