From ef86a6a1f7bca4b21f26b8da2e69c883759e630a Mon Sep 17 00:00:00 2001 From: Christian Ledermann Date: Mon, 20 Nov 2023 18:38:41 +0000 Subject: [PATCH] remove unused type ignore --- fastkml/styles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastkml/styles.py b/fastkml/styles.py index 8d23edef..5ac99055 100644 --- a/fastkml/styles.py +++ b/fastkml/styles.py @@ -334,7 +334,7 @@ def _get_kwargs( href = icon.find(f"{ns}href") if href is not None: kwargs["icon_href"] = href.text - kwargs["hot_spot"] = HotSpot.class_from_element( # type: ignore[attr-defined] + kwargs["hot_spot"] = HotSpot.class_from_element( ns=ns, name_spaces=name_spaces, element=element,