diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-07-13 22:15:01 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-07-13 22:16:42 +0200 |
commit | f82c8cb5fe20c31e43ba0973442d4d19b45f217e (patch) | |
tree | 0770d2bd7b87f3550e498c13070a83c998ab90d7 /tox.ini | |
parent | 033baad2f2adbd99bb5ddfd044492d33ef6c622c (diff) | |
download | qutebrowser-f82c8cb5fe20c31e43ba0973442d4d19b45f217e.tar.gz qutebrowser-f82c8cb5fe20c31e43ba0973442d4d19b45f217e.zip |
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
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |