typecov

Run type coverage checks.


Keywords
type, coverage, mypy, python, typing
License
MIT
Install
pip install typecov==0.2.1

Documentation

typecov

Run type coverage checks.

PyPI version PyPI pyversions Build Status codecov Code style: black

Usage

typecov --help
usage: typecov [-h] [-V] coverage reportfile

Run type coverage checks.

positional arguments:
  coverage       Minimum coverage required.
  reportfile     Path to the type coverage report with line counts.

optional arguments:
  -h, --help     show this help message and exit
  -V, --version  show program's version number and exit

Example

typecov 99 .typecov/report/linecount.txt

Contributing

Install with

pip install -r dev-requirements.txt

Run tests

pytest

Or if you have tox setup

tox