[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
0795b4c16f
commit
f5549f9e05
|
@ -549,9 +549,11 @@ class TerminalReporter:
|
||||||
- len(" [100%]")
|
- len(" [100%]")
|
||||||
- 1
|
- 1
|
||||||
)
|
)
|
||||||
formatted_reason = _format_trimmed(" ({})", reason, available_width)
|
formatted_reason = _format_trimmed(
|
||||||
|
" ({})", reason, available_width
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
formatted_reason = " ({})".format(reason)
|
formatted_reason = f" ({reason})"
|
||||||
|
|
||||||
if reason and formatted_reason is not None:
|
if reason and formatted_reason is not None:
|
||||||
self._tw.write(formatted_reason)
|
self._tw.write(formatted_reason)
|
||||||
|
|
Loading…
Reference in New Issue