tools: Make mypy output prettier.
This commit is contained in:
parent
cb9b0da52a
commit
d6bcb86d06
1 changed files with 2 additions and 2 deletions
|
|
@ -305,8 +305,8 @@ def mypy(path):
|
|||
env = os.environ.copy()
|
||||
env["MYPY_FORCE_COLOR"] = "1"
|
||||
return _run_command([PYTHON_EXECUTABLE, "-m", "mypy", "--color-output",
|
||||
"--ignore-missing-imports", path], timeout=TIMEOUT,
|
||||
has_color=True, env=env)
|
||||
"--ignore-missing-imports", "--pretty", path],
|
||||
timeout=TIMEOUT, has_color=True, env=env)
|
||||
|
||||
|
||||
def _colorize_coverage_report(lines):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue