pyright-to-gitlab-ci
This is a port of the NPM package of the same name since Robert Craigie (blessed be thy name) took on themself the hard task of actually giving us access to pyright without having to directly touch any icky NPM setup.
Using as part of the GitLab CI
I prefer to use UV because I find it easier to scale over time and multiple repos, but using pip works perfectly
With UV
.gitlab-ci.yml
job_name:
script:
- uvx pyright <python source> --outputjson > obj/pyright.json
- uvx pyright-to-gitlab-ci --src obj/pyright.json --output obj/pyright-cc.json --base_path .
artifacts:
reports:
codequality: obj/pyright-cc.json
With pip
.gitlab-ci.yml
job_name:
before_script:
script:
- pipx pyright <python source> --outputjson > obj/pyright.json
- pipx pyright-to-gitlab-ci --src obj/pyright.json --output obj/pyright-cc.json --base_path .
artifacts:
reports:
codequality: obj/pyright-cc.json
Changelog
v1.1.0
- Fix name of
base_pathparams to match JS version - Fix uv dependencies: pytest-coverage as dev dependency
- Thansk Jonáš Vacek for this!
v1.0.0
- Support extended Python>=3.10
- Fix fingerprinting
- Multiple parsing issues fix
- Added unit tests, with tox for all supported python versions
- pyright passes with no warning
Metadata
Release files for pyright-to-gitlab-ci 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyright_to_gitlab_ci-1.1.0.tar.gz | 8.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyright_to_gitlab_ci-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.7 kB
Release files / pyright_to_gitlab_ci-1.1.0.tar.gz
| Download URL | pyright_to_gitlab_ci-1.1.0.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0b588511f2e21908b3ac628b0212f0efa8f04afe2e529e09df839a49b92134c5
|
|
BLAKE2b-256 checksum How to use checksums |
3922ee2a0446385403ceba1547b868dd5f98856f3a2dc64da8f498c51c7b699a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.2
|
Release files / pyright_to_gitlab_ci-1.1.0-py3-none-any.whl
| Download URL | pyright_to_gitlab_ci-1.1.0-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc3f9a59d417ccbf1a9ccfc4bc2dc34130ff1dbc998e327c64d6c9edcaf8f597
|
|
BLAKE2b-256 checksum How to use checksums |
0252e3b6cbad0fcff0ffbb7795c982fafeed155e71ec8e01cfbd33108ef0dab7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.2
|
Security for pyright-to-gitlab-ci 1.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.