Generate GitLab Code Quality report from typos output
Project description
typos-gitlab-code-quality
Generate GitLab Code Quality report from typos output.
Usage
Read from stdin:
$ typos --format json | typos-gitlab-code-quality
Read from file:
$ typos --format json > typos-report.json
$ typos-gitlab-code-quality typos-report.json
Example .gitlab-ci.yml
With pip:
typos:
image: python:alpine
script:
- pip install typos typos-gitlab-code-quality
# "|| true" is used for preventing job fail when typos find errors
- typos --format json > typos-report.json || true
- typos-gitlab-code-quality < typos-report.json > codequality.json
artifacts:
when: always
reports:
codequality: codequality.json
With uv:
typos:
image: ghcr.io/astral-sh/uv:python3.14-alpine
script:
# "|| true" is used for preventing job fail when typos find errors
- uvx typos --format json > typos-report.json || true
- uvx typos-gitlab-code-quality < typos-report.json > codequality.json
artifacts:
when: always
reports:
codequality: codequality.json
Acknowledgements
This project is inspired by mypy-gitlab-code-quality.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file typos_gitlab_code_quality-1.0.0.tar.gz.
File metadata
- Download URL: typos_gitlab_code_quality-1.0.0.tar.gz
- Upload date:
- Size: 48.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf3f1aa233f65f2f3352d3666c70bd9f459f6816c0300ec1ba7041d4aa245284
|
|
| MD5 |
5c3fff917f7ab57104d4e8d7ac4e6de0
|
|
| BLAKE2b-256 |
3a68c56a0ae94fd897b0c17075a01fa9877f9fe532a73405351513824aa15713
|
Provenance
The following attestation bundles were made for typos_gitlab_code_quality-1.0.0.tar.gz:
Publisher:
release.yml on tahv/typos-gitlab-code-quality
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
typos_gitlab_code_quality-1.0.0.tar.gz -
Subject digest:
cf3f1aa233f65f2f3352d3666c70bd9f459f6816c0300ec1ba7041d4aa245284 - Sigstore transparency entry: 757376392
- Sigstore integration time:
-
Permalink:
tahv/typos-gitlab-code-quality@d62b507e2fc49271a38b406317d286c7c2086ced -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/tahv
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d62b507e2fc49271a38b406317d286c7c2086ced -
Trigger Event:
push
-
Statement type:
File details
Details for the file typos_gitlab_code_quality-1.0.0-py3-none-any.whl.
File metadata
- Download URL: typos_gitlab_code_quality-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61585b2f7991c952e77995f2686ba2562284bdf5c86570c05db68a0aa9c9703f
|
|
| MD5 |
30ce34cc684fcac59f4aea54d8c07337
|
|
| BLAKE2b-256 |
8ffd11d1a3abf94f7ff75f54582712b2e9273b0982353170a547b4a2a806d544
|
Provenance
The following attestation bundles were made for typos_gitlab_code_quality-1.0.0-py3-none-any.whl:
Publisher:
release.yml on tahv/typos-gitlab-code-quality
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
typos_gitlab_code_quality-1.0.0-py3-none-any.whl -
Subject digest:
61585b2f7991c952e77995f2686ba2562284bdf5c86570c05db68a0aa9c9703f - Sigstore transparency entry: 757376403
- Sigstore integration time:
-
Permalink:
tahv/typos-gitlab-code-quality@d62b507e2fc49271a38b406317d286c7c2086ced -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/tahv
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d62b507e2fc49271a38b406317d286c7c2086ced -
Trigger Event:
push
-
Statement type: