From 93216e276c3104ea535fc0b52e19716e2f82a322 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Wed, 10 May 2023 14:43:39 -0700 Subject: [sanity-mypy] Ignore re-import warning (#80763) * get_origin is already imported warning can be ignore safely. Signed-off-by: Abhijeet Kasurde --- lib/ansible/module_utils/compat/typing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/compat/typing.py b/lib/ansible/module_utils/compat/typing.py index 036e6810cf..94b1dee7cf 100644 --- a/lib/ansible/module_utils/compat/typing.py +++ b/lib/ansible/module_utils/compat/typing.py @@ -13,7 +13,7 @@ except Exception: # pylint: disable=broad-except pass try: - from typing import * # type: ignore[assignment] + from typing import * # type: ignore[assignment,no-redef] except Exception: # pylint: disable=broad-except pass -- cgit v1.2.1