diff options
author | Abhijeet Kasurde <akasurde@redhat.com> | 2023-05-10 14:43:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-10 14:43:39 -0700 |
commit | 93216e276c3104ea535fc0b52e19716e2f82a322 (patch) | |
tree | c6dc7b2b467061bd0258567c67a9f7137dad12fb | |
parent | fd341265d001d4e6545ffb2b7d154340cb1f1931 (diff) | |
download | ansible-93216e276c3104ea535fc0b52e19716e2f82a322.tar.gz |
[sanity-mypy] Ignore re-import warning (#80763)
* get_origin is already imported warning can be
ignore safely.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
-rw-r--r-- | lib/ansible/module_utils/compat/typing.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |