Minor: tox: coverage: use -m with coverage-report (#5427)
Minor: tox: coverage: use -m with coverage-report
This commit is contained in:
commit
bad7ab721a
|
@ -910,7 +910,6 @@ class ReprEntry(TerminalRepr):
|
|||
for line in self.lines:
|
||||
red = line.startswith("E ")
|
||||
tw.line(line, bold=True, red=red)
|
||||
# tw.line("")
|
||||
return
|
||||
if self.reprfuncargs:
|
||||
self.reprfuncargs.toterminal(tw)
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -20,7 +20,7 @@ envlist =
|
|||
commands =
|
||||
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest {posargs:{env:_PYTEST_TOX_DEFAULT_POSARGS:}}
|
||||
coverage: coverage combine
|
||||
coverage: coverage report
|
||||
coverage: coverage report -m
|
||||
passenv = USER USERNAME COVERAGE_* TRAVIS PYTEST_ADDOPTS
|
||||
setenv =
|
||||
_PYTEST_TOX_DEFAULT_POSARGS={env:_PYTEST_TOX_POSARGS_LSOF:} {env:_PYTEST_TOX_POSARGS_XDIST:}
|
||||
|
|
Loading…
Reference in New Issue