Pytest plugin to run your tests with beartype checking enabled.
pip install pytest_beartype
pytest --beartype-packages='your_package_name,other_package_name'
This will ensure that any type annotations in those packages are checked at runtime, while your tests are running.
pip install -r requirements-dev.txt
to do an editable installpytest
to run testsRun mypy .
Make sure to bump the version in setup.cfg
.
Then run the following commands:
rm -rf build dist
python setup.py sdist bdist_wheel
Then upload it to PyPI using twine:
twine upload dist/*