1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-27 07:27:33 +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

@ -7,7 +7,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: java_keystore
short_description: Create a Java keystore in JKS format
@ -183,20 +182,20 @@ from ansible.module_utils.basic import AnsibleModule, missing_required_lib
from ansible.module_utils.common.text.converters import to_bytes
try:
from cryptography.hazmat.primitives.serialization.pkcs12 import serialize_key_and_certificates
from cryptography.exceptions import UnsupportedAlgorithm
from cryptography.hazmat.backends.openssl import backend
from cryptography.hazmat.primitives import hashes
from cryptography.hazmat.primitives.serialization import (
BestAvailableEncryption,
NoEncryption,
load_pem_private_key,
load_der_private_key,
load_pem_private_key,
)
from cryptography.hazmat.primitives.serialization.pkcs12 import serialize_key_and_certificates
from cryptography.x509 import (
load_pem_x509_certificate,
load_der_x509_certificate,
load_pem_x509_certificate,
)
from cryptography.hazmat.primitives import hashes
from cryptography.exceptions import UnsupportedAlgorithm
from cryptography.hazmat.backends.openssl import backend
HAS_CRYPTOGRAPHY_PKCS12 = True
except ImportError: