We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2aa65e commit 508f4e0Copy full SHA for 508f4e0
tox.ini
@@ -148,9 +148,22 @@ deps=
148
importlib_metadata; python_version < '3.8'
149
mypy
150
patch==1.*
151
+
152
commands =
153
pytest -m mypy {posargs}
154
155
+[testenv:mypy-cov]
156
157
+deps=
158
+ {[testenv:mypy]deps}
159
+ pytest-cov
160
161
+commands =
162
+ pytest -m mypy {env:COVERAGE} {posargs}
163
164
+setenv=
165
+ COVERAGE={[testenv]cov_args}
166
167
# thanks to https://julien.danjou.info/the-best-flake8-extensions/
168
[testenv:lint]
169
basepython = python3
0 commit comments