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.


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

$ pip install pytest-pyright


See the documentation


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.


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


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.4.tar.gz (10.1 kB view hashes)

Uploaded source

Built Distribution

pytest_pyright-0.0.4-py3-none-any.whl (8.1 kB view hashes)

Uploaded py3

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