tools: Better color scheme for python-coverage.
This commit is contained in:
parent
b3dbcddcf6
commit
79dee3f1b9
1 changed files with 1 additions and 1 deletions
|
|
@ -307,7 +307,7 @@ def mypy(path):
|
|||
|
||||
|
||||
def _colorize_coverage_report(lines):
|
||||
line_color = {"> ": termstr.Color.green, "! ": termstr.Color.red,
|
||||
line_color = {"> ": termstr.Color.green, "! ": termstr.Color.grey_150,
|
||||
" ": None}
|
||||
return fill3.join("", [termstr.TermStr(line).fg_color(line_color[line[:2]])
|
||||
for line in lines])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue