1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-19 02:11:32 +00:00

[PR #11400/236b9c0e backport][stable-12] Sort imports with ruff check --fix (#11409)

Sort imports with ruff check --fix (#11400)

Sort imports with ruff check --fix.

(cherry picked from commit 236b9c0e04)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2026-01-09 19:36:52 +01:00 committed by GitHub
parent ebaf2e71d5
commit b769b0bc01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
829 changed files with 1644 additions and 1692 deletions

View file

@ -83,7 +83,7 @@ except ImportError:
HAS_PYTHON_JWT = False # vs pyjwt
if HAS_JWT and hasattr(jwt, "JWT"):
HAS_PYTHON_JWT = True
from jwt import jwk_from_pem, JWT # type: ignore[attr-defined]
from jwt import JWT, jwk_from_pem # type: ignore[attr-defined]
jwt_instance = JWT()
@ -95,12 +95,12 @@ except ImportError:
HAS_CRYPTOGRAPHY = False
import time
import json
import time
from urllib.error import HTTPError
from ansible.module_utils.urls import open_url
from ansible.errors import AnsibleError, AnsibleOptionsError
from ansible.module_utils.urls import open_url
from ansible.plugins.lookup import LookupBase
from ansible.utils.display import Display