Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyright_to_gitlab_ci-1.0.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyright_to_gitlab_ci-1.0.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file pyright_to_gitlab_ci-1.0.0.tar.gz.

File metadata

File hashes

Hashes for pyright_to_gitlab_ci-1.0.0.tar.gz
Algorithm Hash digest
SHA256 68798b4c41226b1a1e9b7456754a20276ef191d7986ac578cae5f053beb36af1
MD5 5b5c415bbcc4fb347018fcd23d70eee2
BLAKE2b-256 b00d4f8c22696bd54d64007cd90fcf5434f55e334536663e29c856a2060cf139

See more details on using hashes here.

File details

Details for the file pyright_to_gitlab_ci-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pyright_to_gitlab_ci-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb84763ef12a5372f439c4359346565aaf600f48a8bc9ebf05d20028071dfb75
MD5 7c2049c73a782bb232d7241b4f5b204b
BLAKE2b-256 384e4db4b0881f79216ddd5f8accf8534a645f808ecf6b9cd2d5c581190f24e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page