Re-sort imports.

This commit is contained in:
Felix Fontein
2025-12-25 21:58:57 +01:00
parent 74e9abf1f6
commit 9cbf9fc6ec
109 changed files with 86 additions and 219 deletions

View File

@@ -19,7 +19,6 @@ from ansible_collections.community.crypto.plugins.module_utils._acme.errors impo
from ..test__time import TIMEZONES, cartesian_product
if t.TYPE_CHECKING:
from ansible_collections.community.crypto.plugins.module_utils._acme.backends import ( # pragma: no cover
Criterium,

View File

@@ -37,7 +37,6 @@ from .backend_data import (
TEST_PARSE_ACME_TIMESTAMP,
)
if t.TYPE_CHECKING:
from ansible_collections.community.crypto.plugins.module_utils._acme.backends import ( # pragma: no cover
CertificateInformation,

View File

@@ -33,7 +33,6 @@ from .backend_data import (
TEST_PARSE_ACME_TIMESTAMP,
)
if t.TYPE_CHECKING:
from ansible_collections.community.crypto.plugins.module_utils._acme.backends import ( # pragma: no cover
CertificateInformation,

View File

@@ -17,7 +17,6 @@ from ansible_collections.community.crypto.plugins.module_utils._acme.errors impo
format_error_problem,
)
TEST_FORMAT_ERROR_PROBLEM: list[tuple[dict[str, t.Any], str, str]] = [
(
{

View File

@@ -14,7 +14,6 @@ from ansible_collections.community.crypto.plugins.module_utils._acme.io import (
write_file,
)
TEST_TEXT = r"""1234
5678"""

View File

@@ -24,7 +24,6 @@ from ansible_collections.community.crypto.plugins.module_utils._acme.utils impor
from .backend_data import TEST_PEM_DERS
NOPAD_B64: list[tuple[str, str]] = [
("", ""),
("\n", "Cg"),

View File

@@ -15,7 +15,6 @@ from ansible_collections.community.crypto.plugins.module_utils._crypto._asn1 imp
serialize_asn1_string_as_der,
)
TEST_CASES: list[tuple[str, bytes]] = [
("UTF8:Hello World", b"\x0c\x0b\x48\x65\x6c\x6c\x6f\x20\x57\x6f\x72\x6c\x64"),
(

View File

@@ -15,7 +15,6 @@ from ansible_collections.community.crypto.plugins.module_utils._crypto.pem impor
split_pem_list,
)
PEM_TEST_CASES: list[
tuple[bytes, list[str], bool, t.Literal["raw", "pkcs1", "pkcs8", "unknown-pem"]]
] = [

View File

@@ -15,7 +15,6 @@ from ansible_collections.community.crypto.plugins.module_utils._openssh.certific
parse_option_list,
)
# Type: ssh-rsa-cert-v01@openssh.com user certificate
# Public key: RSA-CERT SHA256:SvUwwUer4AwsdePYseJR3LcZS8lnKi6BqiL51Dop030
# Signing CA: DSA SHA256:YCdJ2lYU+FSkWUud7zg1SJszprXoRGNU/GVcqXUjgC8

View File

@@ -24,7 +24,6 @@ from ansible_collections.community.crypto.plugins.module_utils._openssh.cryptogr
OpensshKeypair,
)
if t.TYPE_CHECKING:
from ansible_collections.community.crypto.plugins.module_utils._openssh.cryptography import ( # pragma: no cover
KeyType,

View File

@@ -14,7 +14,6 @@ from ansible_collections.community.crypto.plugins.module_utils._openssh.utils im
parse_openssh_version,
)
SSH_VERSION_STRING = "OpenSSH_7.9p1, OpenSSL 1.1.0i-fips 14 Aug 2018"
SSH_VERSION_NUMBER = "7.9"

View File

@@ -22,7 +22,6 @@ from ansible_collections.community.crypto.plugins.module_utils._time import (
remove_timezone,
)
TIMEZONES = [
datetime.timedelta(hours=0),
datetime.timedelta(hours=1),