Skip to content

Commit 4bea7cf

Browse files
committed
Don't have mypy failure fail the whole tox run
Other environments would still be run even after mypy has failed, but to avoid having tox runs be unnecessarily inconsistent with the mypy step in the pythonpackage.yml CI workflow, and also because GitPython is not currently expected to pass mypy checks, this keeps mypy errors from causing the whole tox run to be reported as failed.
1 parent 2cc2db7 commit 4bea7cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: tox.ini

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ commands = pre-commit run --all-files
1818
description = Typecheck with mypy
1919
basepython = py39
2020
commands = mypy -p git
21+
ignore_outcome = true
2122

2223
[testenv:black]
2324
description = Check style with black

0 commit comments

Comments
 (0)