Pytest plugin for type checking code with Pyright
Project description
⚠️ 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
Built Distribution
File details
Details for the file pytest-pyright-0.0.6.tar.gz
.
File metadata
- Download URL: pytest-pyright-0.0.6.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc3353d62750393c1e0eb150aac662d50661bbc68c2fc47095ed3f910582d8c2 |
|
MD5 | 0b2b176b5131923a6adc7523450d796e |
|
BLAKE2b-256 | bcdc470d15f9929fe32ec5e982b37bc9092e2fa11395a1dbf9c3154ed4afbc37 |
File details
Details for the file pytest_pyright-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: pytest_pyright-0.0.6-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2cefac242fde4a54437f66f05de7ffe23e87bf65751b7677e0d3c861a60a328 |
|
MD5 | d9adcb2ee08f15dbd854f13b88008bae |
|
BLAKE2b-256 | 3908b3a8ed1cea52a7d919f47c9798e8586ef46e6b64a4626277e587ee2eb850 |