Skip to content

Commit dad877b

Browse files
committed
vcu118-run.py: Appease ruff format
Fixes: 114e70e ("vcu118-run.py: Don't depend on endpoint iteration order for TTY")
1 parent 52c1e5a commit dad877b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

vcu118-run.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,14 @@ def find_vcu118_tty(pretend: bool) -> ListPortInfo:
452452
return portinfo
453453
if pretend:
454454
return ListPortInfo("/dev/fakeTTY")
455-
raise ValueError("Could not find USB TTY with VID", hex(expected_vendor_id), "PID", hex(expected_product_id),
456-
"endpoint", expected_endpoint)
455+
raise ValueError(
456+
"Could not find USB TTY with VID",
457+
hex(expected_vendor_id),
458+
"PID",
459+
hex(expected_product_id),
460+
"endpoint",
461+
expected_endpoint,
462+
)
457463

458464

459465
def main():

0 commit comments

Comments
 (0)