Skip to content

Commit c4e0745

Browse files
committed
fix additional formatting problem
1 parent 41e7a77 commit c4e0745

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pybricksdev/cli/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
import contextlib
99
import logging
1010
import os
11-
import questionary
1211
import sys
1312
from abc import ABC, abstractmethod
1413
from os import PathLike, path
1514
from tempfile import NamedTemporaryFile
1615
from typing import ContextManager, TextIO
1716

1817
import argcomplete
18+
import questionary
1919
from argcomplete.completers import FilesCompleter
2020

2121
from pybricksdev import __name__ as MODULE_NAME
@@ -232,8 +232,7 @@ def is_pybricks_usb(dev):
232232
break
233233

234234
resend = await questionary.select(
235-
"Would you like to resend your code?",
236-
choices=["Resend", "Exit"]
235+
"Would you like to resend your code?", choices=["Resend", "Exit"]
237236
).ask_async()
238237

239238
if resend == "Exit":
@@ -245,7 +244,9 @@ def is_pybricks_usb(dev):
245244
finally:
246245
await hub.disconnect()
247246

247+
248248
class Flash(Tool):
249+
249250
def add_parser(self, subparsers: argparse._SubParsersAction):
250251
parser = subparsers.add_parser(
251252
"flash", help="flash firmware on a LEGO Powered Up device"

0 commit comments

Comments
 (0)