From f82c8cb5fe20c31e43ba0973442d4d19b45f217e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 13 Jul 2020 22:15:01 +0200 Subject: ci: Improve mypy output - Set MYPY_FORCE_TERMINAL_WIDTH to get 180-column output (rather than 80), so that error messages fit on one line. - Set MYPY_FORCE_COLOR to get colored output - Adjust problemmatcher regex accordingly --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 7a5c37d10..2d9081c47 100644 --- a/tox.ini +++ b/tox.ini @@ -197,7 +197,7 @@ commands = bash scripts/dev/run_shellcheck.sh {posargs} [testenv:mypy] basepython = {env:PYTHON:python3} pip_version = pip -passenv = TERM +passenv = TERM MYPY_FORCE_TERMINAL_WIDTH MYPY_FORCE_COLOR deps = -r{toxinidir}/requirements.txt -r{toxinidir}/misc/requirements/requirements-dev.txt -- cgit v1.2.3-54-g00ecf