Pytest plugin to make it easier to run and check python code against static type checkers
Project description
This is a plugin for pytest to assist in generating scenarios to run static type checking against.
History
This plugin comes out of a fork of the pytest_mypy_plugins pytest plugin for writing tests that pytest can use to run mypy against sets of files.
The difference for this plugin is that it provides a pytest fixture to do work from rather than exposing a yml interface for writing tests. It also allows for running mypy multiple times in the same test with changes to the code being statically type checked. And also has some different mechanisms for expressing the expected output from mypy.
Built Docs
Project details
Release history Release notifications | RSS feed
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
Hashes for pytest_typing_runner-0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e9fe28bb8929cddb7e93a825a3d335a11dfd1ac839ea83251d3dcfba99ee808 |
|
MD5 | 91554e5533461cba3a83af721539fb4f |
|
BLAKE2b-256 | 63ee8e7a0cead5f47e1eca7329f89ad7909d11c3dc7823987c803ece2bc02861 |