Skip to content

Commit

Permalink
Make naming worse to keep ruff quiet
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoliaw committed Sep 9, 2024
1 parent 6e15a10 commit b1062e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blueapi/cli/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ def display_full(obj: Any, stream: Stream):
print(" " + proto)
case DataEvent(name=name, doc=doc):
print(f"{name.title()}: {fmt_dict(doc)}")
case WorkerEvent(state=state, task_status=task):
case WorkerEvent(state=st, task_status=task):
print(
f"WorkerEvent: {state.name}{fmt_dict(task.model_dump() if task else {})}"
f"WorkerEvent: {st.name}{fmt_dict(task.model_dump() if task else {})}"
)
case ProgressEvent():
print(f"Progress:{fmt_dict(obj.model_dump())}")
Expand Down

0 comments on commit b1062e2

Please sign in to comment.