Skip to content

RobertCraigie/pytest-pyright

Repository files navigation

pytest-pyright

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.