Revert "update to black formatter 25.1"

This reverts commit c034297bc0.
This commit is contained in:
Gilles Boccon-Gibod
2025-08-04 19:24:30 -07:00
parent a7111d0107
commit 12ca1c01f0
5 changed files with 16 additions and 18 deletions

View File

@@ -1117,7 +1117,7 @@ class Protocol(utils.EventEmitter):
@staticmethod
def _check_vendor_dependent_frame(
frame: Union[avc.VendorDependentCommandFrame, avc.VendorDependentResponseFrame],
frame: Union[avc.VendorDependentCommandFrame, avc.VendorDependentResponseFrame]
) -> bool:
if frame.company_id != AVRCP_BLUETOOTH_SIG_COMPANY_ID:
logger.debug("unsupported company id, ignoring")

View File

@@ -49,7 +49,7 @@ _SERVICERS_HOOKS: list[Callable[[PandoraDevice, Config, grpc.aio.Server], None]]
def register_servicer_hook(
hook: Callable[[PandoraDevice, Config, grpc.aio.Server], None],
hook: Callable[[PandoraDevice, Config, grpc.aio.Server], None]
) -> None:
_SERVICERS_HOOKS.append(hook)