Skip to content

Commit

Permalink
all: Update Python formatting to latest Black version 21.12b0.
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
  • Loading branch information
jimmo authored and dpgeorge committed Dec 9, 2021
1 parent b491967 commit 3770fab
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion extmod/uasyncio/event.py
Expand Up @@ -57,6 +57,5 @@ async def wait(self):
yield core._io_queue.queue_read(self)
self._flag = 0


except ImportError:
pass
1 change: 0 additions & 1 deletion ports/stm32/make-stmconst.py
Expand Up @@ -17,7 +17,6 @@
def convert_bytes_to_str(b):
return b


elif platform.python_version_tuple()[0] == "3":

def convert_bytes_to_str(b):
Expand Down
1 change: 0 additions & 1 deletion tests/extmod/utimeq1.py
Expand Up @@ -17,7 +17,6 @@
def dprint(*v):
print(*v)


else:

def dprint(*v):
Expand Down
1 change: 0 additions & 1 deletion tools/pydfu.py
Expand Up @@ -84,7 +84,6 @@
def get_string(dev, index):
return usb.util.get_string(dev, 255, index)


else:
# PyUSB 1.0.0.b2 dropped the length argument
def get_string(dev, index):
Expand Down

0 comments on commit 3770fab

Please sign in to comment.