Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sayanarijit/typecov

Run type coverage checks.
https://github.com/sayanarijit/typecov

coverage mypy python typing

Last synced: 17 days ago
JSON representation

Run type coverage checks.

Awesome Lists containing this project

README

        

typecov
==========
Run type coverage checks.

[![PyPI version](https://img.shields.io/pypi/v/typecov.svg)](https://pypi.org/project/typecov)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/typecov.svg)](https://pypi.org/project/typecov)
[![Build Status](https://travis-ci.org/sayanarijit/typecov.svg?branch=master)](https://travis-ci.org/sayanarijit/typecov)
[![codecov](https://codecov.io/gh/sayanarijit/typecov/branch/master/graph/badge.svg)](https://codecov.io/gh/sayanarijit/typecov)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](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
```