https://github.com/sayanarijit/typecov
Run type coverage checks.
https://github.com/sayanarijit/typecov
coverage mypy python typing
Last synced: 12 months ago
JSON representation
Run type coverage checks.
- Host: GitHub
- URL: https://github.com/sayanarijit/typecov
- Owner: sayanarijit
- License: mit
- Created: 2019-06-02T17:28:07.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-22T05:07:08.000Z (almost 2 years ago)
- Last Synced: 2025-05-21T08:54:12.080Z (about 1 year ago)
- Topics: coverage, mypy, python, typing
- Language: Python
- Homepage: https://pypi.org/project/typecov
- Size: 7.81 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
typecov
==========
Run type coverage checks.
[](https://pypi.org/project/typecov)
[](https://pypi.org/project/typecov)
[](https://travis-ci.org/sayanarijit/typecov)
[](https://codecov.io/gh/sayanarijit/typecov)
[](https://github.com/python/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](https://github.com/tox-dev/tox) setup
```
tox
```