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
On the repo
uv add pyright
uv add pyright-to-gitlab-ci
# git commit && git push
.gitlab-ci.yml
job_name:
script:
- uv run pyright <python source> --outputjson > obj/pyright.json
- uv run 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:
- pip install pyright
- pip install pyright-to-gitlab-ci
script:
- pyright <python source> --outputjson > obj/pyright.json
- pyright-to-gitlab-ci --src obj/pyright.json --output obj/pyright-cc.json --base_path .
artifacts:
reports:
codequality: obj/pyright-cc.json
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-0.1.1.tar.gz.
File metadata
- Download URL: pyright_to_gitlab_ci-0.1.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ffa4f3a28ed0f8c41d32a391be7624a80d3f841adc3454f525431c2fcaee0df
|
|
| MD5 |
def6ef70717cb852ce98df40aaaba8d4
|
|
| BLAKE2b-256 |
e71fa173a8ee4d26be502dd8c81d04d2ae22fc1dce5e4087e401d27b538731da
|
File details
Details for the file pyright_to_gitlab_ci-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pyright_to_gitlab_ci-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f57525be23d8032322cd45a59d712bfba1ad61e69ad57de8351947c996ad9e6d
|
|
| MD5 |
64fe49c2cedf1831dd42462fd624caf7
|
|
| BLAKE2b-256 |
714d58aa57b938b855da4dd7718bfab321d7908ffba7be6f6c3fa6031a794e71
|