From: Aleš Mrázek Date: Mon, 22 Jul 2024 09:28:08 +0000 (+0200) Subject: manager: lint: mypy fix X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fci-manager-interactive;p=thirdparty%2Fknot-resolver.git manager: lint: mypy fix --- 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