Skip to content

Commit

Permalink
Don't have mypy failure fail the whole tox run
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
EliahKagan committed Sep 19, 2023
1 parent 2cc2db7 commit 4bea7cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ commands = pre-commit run --all-files
description = Typecheck with mypy
basepython = py39
commands = mypy -p git
ignore_outcome = true

[testenv:black]
description = Check style with black
Expand Down

0 comments on commit 4bea7cf

Please sign in to comment.