From de7993c39caff31eea71a7ef94c82adabefb9960 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Mon, 29 May 2023 17:47:58 -0700 Subject: [PATCH] Fix type hint for get_known_disk_attributes() --- scripts/wk/hw/smart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/wk/hw/smart.py b/scripts/wk/hw/smart.py index 79e95df7..c9c3a94b 100644 --- a/scripts/wk/hw/smart.py +++ b/scripts/wk/hw/smart.py @@ -201,7 +201,7 @@ def get_attribute_value_string(dev, attr) -> str: return value_str -def get_known_disk_attributes(model) -> None: +def get_known_disk_attributes(model) -> dict[str | int, dict[str, Any]]: """Get known disk attributes based on the device model.""" known_attributes = copy.deepcopy(KNOWN_DISK_ATTRIBUTES)