diff --git a/src/blueapi/cli/format.py b/src/blueapi/cli/format.py index 2be75d250..9aac50b29 100644 --- a/src/blueapi/cli/format.py +++ b/src/blueapi/cli/format.py @@ -67,7 +67,7 @@ def display_full(obj: Any, stream: Stream): case ProgressEvent(): print(f"Progress:{fmt_dict(obj.dict())}") case BaseModel(): - print(obj.__class__.__name__, end='') + print(obj.__class__.__name__, end="") print(fmt_dict(obj.dict())) case other: FALLBACK(other, stream=stream) @@ -108,7 +108,7 @@ def display_compact(obj: Any, stream: Stream): case WorkerEvent(state=state): print(f"Worker state: {state}") case ProgressEvent(statuses=stats): - prog = max(100 * (s.percentage or 0) for s in stats.values()) or "???" + prog = max(100 * (s.percentage or 0) for s in stats.values()) or "???" print(f"Progress: {prog}%") case other: FALLBACK(other, stream=stream)