ci: Disable mypy coloring again

Looks like mypy uses curses to get colors, so there's really nothing we can do
here on GitHub Actions.
This commit is contained in:
Florian Bruhin 2020-07-13 22:34:51 +02:00
parent 42eebc0776
commit 1aeefe1968
3 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,6 @@ on: [push, pull_request]
env:
PY_COLORS: "1"
MYPY_FORCE_TERMINAL_WIDTH: "180"
MYPY_FORCE_COLOR: "1"
jobs:
linters:

View File

@ -89,7 +89,7 @@ MATCHERS = {
{
"pattern": [
{
"regexp": r"^([^:]+):(\d+): \033\[1m\033\[31m([^:]+):\033\[m (.*) \033\[m\033\[33m\[(.*)\]\033\[m$",
"regexp": r"^([^:]+):(\d+): ([^:]+): (.*) \[(.*)\]$",
"file": 1,
"line": 2,
"severity": 3,

View File

@ -197,7 +197,7 @@ commands = bash scripts/dev/run_shellcheck.sh {posargs}
[testenv:mypy]
basepython = {env:PYTHON:python3}
pip_version = pip
passenv = TERM MYPY_FORCE_TERMINAL_WIDTH MYPY_FORCE_COLOR
passenv = TERM MYPY_FORCE_TERMINAL_WIDTH
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/misc/requirements/requirements-dev.txt