flake8-gl-codeclimate
Gitlab Code Quality artifact Flake8 formatter
What it is and what it does
flake8-gl-codeclimate is a Flake8 output formatter that translates linting violations into GitLab Code Quality artifact format—a JSON structure compatible with the Code Climate specification. Instead of printing human-readable text, it produces structured JSON that GitLab CI/CD can parse and display as code quality reports in merge requests. The package is a thin adapter: it depends only on flake8 and acts as a custom formatter plugin, allowing you to run your existing linting checks and automatically feed the results into GitLab's quality tracking system.
Typically used in GitLab CI/CD pipelines, you install it alongside flake8, then invoke flake8 with `--format gl-codeclimate` and redirect output to a JSON file that GitLab stores as a code quality artifact. This enables developers to see linting violations, improvements, and regressions directly in merge request reviews without leaving GitLab's interface.
Use it for:
- Integrate Flake8 linting into GitLab CI/CD so code quality metrics appear in merge request reviews.
- Track code quality improvements and regressions across commits in a GitLab project.
- Produce Code Climate–compatible JSON reports from Flake8 for GitLab artifact storage.
- Automate Python code quality checks as part of a GitLab pipeline without custom JSON serialization.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Flake8 formatter that outputs linting results in GitLab Code Quality artifact format (JSON compatible with the Code Climate spec) for integration into GitLab CI/CD pipelines.
Yes, if you use GitLab CI/CD and want Flake8 linting results to appear as code quality reports in merge requests. The package is lightweight, has no complex dependencies, carries a permissive license, and solves a specific GitLab integration need. Install it as part of your CI pipeline configuration; it is not useful outside that context.
Install
flake8-gl-codeclimate on PyPI
pip
pip install flake8-gl-codeclimateuv
uv add flake8-gl-codeclimatepoetry
poetry add flake8-gl-codeclimateInstalling flake8-gl-codeclimate
Before you install
Low friction: pure Python wheel with only flake8 as a runtime dependency. Marked active with a recent release (2026-04-06), though repository details are not available to assess ongoing maintenance depth.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions, making it suitable for both open-source and proprietary projects.
Quickstart
pip install flake8-gl-codeclimate
flake8 --format gl-codeclimate --output-file report.json your_code.py
Requires flake8 to be installed; intended for use in GitLab CI/CD pipelines or local environments where flake8 linting is already part of your workflow.
Verify before relying
- Whether the formatter supports all flake8 plugins or only a subset of linting rules.
- Compatibility with recent flake8 versions and any breaking changes in the Code Climate spec.
- Active maintenance status beyond the latest release date (repository visibility not provided).
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — flake8 |
| Maintenance | actively maintained — 130 days since the last release |
| First released | |
| Downloads | 203,855/month — #9,620 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: flake8_gl_codeclimate-0.2.2-py3-none-any.whl
Tags
More Quality Assurance packages
Coverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
ruffRuff is a Python linter and code formatter…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
blackBlack reformats Python source code to a…
permissive · top 1,000 on PyPI
pytest-xdistpytest-xdist distributes pytest tests across…
permissive · top 1,000 on PyPI
cfn-lintValidates AWS CloudFormation templates in YAML…
permissive · top 1,000 on PyPI
flake8-jsonA Flake8 plugin that formats linting output as…
permissive · top 15,000 on PyPI
pylint-gitlabProvides custom pylint output formatters that…
copyleft · top 5,000 on PyPI
mypy-gitlab-code-qualityConverts mypy type-checking output into GitLab…
permissive · top 15,000 on PyPI
flake8-formatter-junit-xmlFormats flake8 linting output as JUnit XML,…
permissive · top 15,000 on PyPI
flake8-htmlA flake8 plugin that converts code style…
permissive · top 15,000 on PyPI
flake8-commasA flake8 plugin that enforces trailing comma…
permissive · top 15,000 on PyPI
flake8-blackA flake8 plugin that runs black's code style…
permissive · top 15,000 on PyPI
flake8Flake8 is a command-line tool that combines…
permissive · top 1,000 on PyPI
flake8-eradicateA flake8 plugin that detects commented-out code…
permissive · top 15,000 on PyPI
flake8-junit-reportConverts flake8 linting output to JUnit XML…
permissive · top 15,000 on PyPI