]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
manager: lint: mypy fix docs-develop-ci-m-p8cie3/deployments/4600 ci-manager-interactive
authorAleš Mrázek <ales.mrazek@nic.cz>
Mon, 22 Jul 2024 09:28:08 +0000 (11:28 +0200)
committerAleš Mrázek <ales.mrazek@nic.cz>
Mon, 22 Jul 2024 09:28:08 +0000 (11:28 +0200)
manager/knot_resolver_manager/utils/modeling/base_schema.py

index 78fe187af323bedf0d6cd27792393642d15a194d..d6d1408f0ea3c4f7857977eb7a56de2681f2bcbe 100644 (file)
@@ -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