From d5fc7929d8b0bae36264e2cf3fcfb4cbe1a5de4b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20Mr=C3=A1zek?= Date: Mon, 22 Jul 2024 11:28:08 +0200 Subject: [PATCH] manager: lint: mypy fix --- manager/knot_resolver_manager/utils/modeling/base_schema.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/manager/knot_resolver_manager/utils/modeling/base_schema.py b/manager/knot_resolver_manager/utils/modeling/base_schema.py index 78fe187af..d6d1408f0 100644 --- a/manager/knot_resolver_manager/utils/modeling/base_schema.py +++ b/manager/knot_resolver_manager/utils/modeling/base_schema.py @@ -474,8 +474,7 @@ class ObjectMapper: return obj # when the specified type is Any, just return the given value - # (pylint does something weird on the following line and it happens only on python 3.10) - elif tp == Any: # pylint: disable=comparison-with-callable + elif tp == Any: # type: ignore[comparison-overlap] return obj # BaseValueType subclasses -- 2.47.2