diff options
| -rw-r--r-- | tox.ini | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -148,9 +148,22 @@ deps= importlib_metadata; python_version < '3.8' mypy patch==1.* + commands = pytest -m mypy {posargs} +[testenv:mypy-cov] + +deps= + {[testenv:mypy]deps} + pytest-cov + +commands = + pytest -m mypy {env:COVERAGE} {posargs} + +setenv= + COVERAGE={[testenv]cov_args} + # thanks to https://julien.danjou.info/the-best-flake8-extensions/ [testenv:lint] basepython = python3 |
