flake8-gl-codeclimate
Flake8 formatter producing Gitlab Code Quality artifacts.
Usage
By default, Flake8 will print to standard output. However, the purpose of this formatter is to produce a JSON file that is then stored as Code Quality artifact by Gitlab (see below) - the output itself isn't very human-readable:
$ pip install flake8-gl-codeclimate
$ flake8 --format gl-codeclimate examples/trailing-whitespace.py
[
{"type": "issue", "check_name": "pycodestyle", "description": "trailing whitespace [W291]", ... }
]
Adding it to Gitlab
To enable Code Quality reports based on Flake8 in Gitlab merge requests,
add a configuration as follows to your projects gitlab-ci.yml file.
flake8:
script:
- pip install flake8-gl-codeclimate
- flake8 --exit-zero --format gl-codeclimate --output-file gl-code-quality-report.json my_package/
artifacts:
reports:
codequality: gl-code-quality-report.json
This will upload the gl-code-quality-report.json as Gitlab Code Quality artifact.
Afterwards, code quality improvements and degradations should show up in
merge requests on Gitlab.
Gitlab Code Quality artifacts are a subset of the Code Climate spec.
Have fun!
Release files for flake8-gl-codeclimate 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flake8_gl_codeclimate-0.2.2.tar.gz | 9.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flake8_gl_codeclimate-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.2 kB
Release files / flake8_gl_codeclimate-0.2.2.tar.gz
| Download URL | flake8_gl_codeclimate-0.2.2.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
273804c1bfc9c07e91ef4522cc340773aaf9b512bb2116a29d7f05725db57449
|
|
BLAKE2b-256 checksum How to use checksums |
4156505f4a545d996bbf4ef5c4b73d25c1edd30f720f7d47de02eff226918697
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 6, 2026.
Transparency logRelease files / flake8_gl_codeclimate-0.2.2-py3-none-any.whl
| Download URL | flake8_gl_codeclimate-0.2.2-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc5ec8bbef82c40936a924a9bf8b236292c96037c322b8bc65954c1f782ca498
|
|
BLAKE2b-256 checksum How to use checksums |
3ecff7c3d2d7ccc28fd01a1ea7dc911dbb2f6393a4bbbc7734c7bde691f3691f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 6, 2026.
Transparency log