From 9e270d4d62c235c228a654a1e81d8cfec9dbace3 Mon Sep 17 00:00:00 2001 From: Stryxion Date: Mon, 12 Jan 2026 09:36:35 +0100 Subject: [PATCH] fix: mypy --- apps/usb_probe.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/usb_probe.py b/apps/usb_probe.py index 38144ff1..32d0255f 100644 --- a/apps/usb_probe.py +++ b/apps/usb_probe.py @@ -26,6 +26,8 @@ # ----------------------------------------------------------------------------- # Imports # ----------------------------------------------------------------------------- +from typing import Any + import click import usb1 @@ -175,7 +177,7 @@ def main(verbose: bool, manufacturer: str, product: str, hci_only: bool): load_libusb() with usb1.USBContext() as context: bluetooth_device_count = 0 - devices = {} + devices: dict[tuple[Any, Any], list[str|None]] = {} for device in context.getDeviceIterator(skip_on_error=True): device_class = device.getDeviceClass()