Skip to main content

Pytest plugin for type checking code with Pyright

Project description

PyPI version Python versions Documentation Status

⚠️ This project was created for internal use within another project of mine, support will be minimal.

Pytest plugin for type checking code with Pyright.


This pytest plugin was generated with Cookiecutter along with @hackebrot’s cookiecutter-pytest-plugin template.

Why Should You Use it?

pytest-pyright was created to ensure that complex types are correctly constrained, i.e will raise an error if used incorrectly.

if your project makes use of any complex types you should find some value out pytest-pyright.

Installation

You can install “pytest-pyright” via pip from PyPI:

$ pip install pytest-pyright

Usage

See the documentation

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the MIT license, “pytest-pyright” is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

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

pytest-pyright-0.0.2.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

pytest_pyright-0.0.2-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file pytest-pyright-0.0.2.tar.gz.

File metadata

  • Download URL: pytest-pyright-0.0.2.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.1

File hashes

Hashes for pytest-pyright-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3fed25ab4f93b242389f56ff2286c6c5c453c59950682241d0e04204a1e66f97
MD5 d4dd049e8b30c3839a35dac7b2403b78
BLAKE2b-256 c43a9b2e24cdaf4910d276d6233ff89740487657e6ccdbcf300ba791ea8c517a

See more details on using hashes here.

File details

Details for the file pytest_pyright-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pytest_pyright-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.1

File hashes

Hashes for pytest_pyright-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6168d6dd9959c67917d8665d67bc147af77d463bb794c60f03d08facf55baa65
MD5 c13240bc34f1c10775479460441bc4c5
BLAKE2b-256 739f8371e4aa311df2a5bb9958cfb6f965c54914da55dbae6eb64051ac21e546

See more details on using hashes here.

Supported by

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