We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19f66cb commit 2406076Copy full SHA for 2406076
tox.ini
@@ -59,6 +59,15 @@ commands = pre-commit run --all-files --show-diff-on-failure {posargs:}
59
extras = checkqa-mypy, testing
60
commands = mypy {posargs:src testing}
61
62
+[testenv:mypy-diff]
63
+extras = checkqa-mypy, testing
64
+deps =
65
+ lxml
66
+ diff-cover
67
+commands =
68
+ -mypy --cobertura-xml-report {envtmpdir} {posargs:src testing}
69
+ diff-cover --fail-under=100 --compare-branch={env:DIFF_BRANCH:origin/{env:GITHUB_BASE_REF:master}} {envtmpdir}/cobertura.xml
70
+
71
[testenv:docs]
72
basepython = python3
73
usedevelop = True
0 commit comments