update black formatter to version 24

This commit is contained in:
Gilles Boccon-Gibod
2024-04-01 14:44:46 -07:00
parent ec82242462
commit 58d4ab913a
30 changed files with 155 additions and 132 deletions

View File

@@ -449,7 +449,7 @@ async def open_usb_transport(spec: str) -> Transport:
# Look for the first interface with the right class and endpoints
def find_endpoints(device):
# pylint: disable-next=too-many-nested-blocks
for (configuration_index, configuration) in enumerate(device):
for configuration_index, configuration in enumerate(device):
interface = None
for interface in configuration:
setting = None