Port of the NPM package of the same name
Project description
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.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
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 pyright_to_gitlab_ci-1.0.0.tar.gz.
File metadata
- Download URL: pyright_to_gitlab_ci-1.0.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68798b4c41226b1a1e9b7456754a20276ef191d7986ac578cae5f053beb36af1
|
|
| MD5 |
5b5c415bbcc4fb347018fcd23d70eee2
|
|
| BLAKE2b-256 |
b00d4f8c22696bd54d64007cd90fcf5434f55e334536663e29c856a2060cf139
|
File details
Details for the file pyright_to_gitlab_ci-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pyright_to_gitlab_ci-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb84763ef12a5372f439c4359346565aaf600f48a8bc9ebf05d20028071dfb75
|
|
| MD5 |
7c2049c73a782bb232d7241b4f5b204b
|
|
| BLAKE2b-256 |
384e4db4b0881f79216ddd5f8accf8534a645f808ecf6b9cd2d5c581190f24e9
|