1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-03 10:47:08 +00:00

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

Sort imports with ruff check --fix.
This commit is contained in:
Felix Fontein 2026-01-09 07:40:58 +01:00 committed by GitHub
parent 0e6ba07261
commit 236b9c0e04
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: