mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Re-sort imports.
This commit is contained in:
@@ -42,7 +42,6 @@ from ansible_collections.community.docker.tests.unit.plugins.module_utils._api.c
|
||||
|
||||
from .. import fake_api
|
||||
|
||||
|
||||
if t.TYPE_CHECKING:
|
||||
from ansible_collections.community.docker.plugins.module_utils._api.auth import (
|
||||
AuthConfig,
|
||||
|
||||
@@ -8,5 +8,4 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
DEFAULT_DOCKER_API_VERSION = "1.45"
|
||||
|
||||
@@ -17,7 +17,6 @@ from ansible_collections.community.docker.tests.unit.plugins.module_utils._api.c
|
||||
|
||||
from . import fake_stat
|
||||
|
||||
|
||||
if t.TYPE_CHECKING:
|
||||
from collections.abc import Callable
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
OBJ = {
|
||||
"read": "2015-02-11T19:20:46.667237763+02:00",
|
||||
"network": {
|
||||
|
||||
@@ -17,7 +17,6 @@ from ansible_collections.community.docker.plugins.module_utils._api.transport im
|
||||
ssladapter,
|
||||
)
|
||||
|
||||
|
||||
try:
|
||||
from ssl import CertificateError, match_hostname # type: ignore
|
||||
except ImportError:
|
||||
|
||||
@@ -27,7 +27,6 @@ from ansible_collections.community.docker.plugins.module_utils._api.utils.build
|
||||
tar,
|
||||
)
|
||||
|
||||
|
||||
if t.TYPE_CHECKING:
|
||||
from collections.abc import Collection
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@ from ansible_collections.community.docker.plugins.module_utils._api.utils.json_s
|
||||
stream_as_text,
|
||||
)
|
||||
|
||||
|
||||
if t.TYPE_CHECKING:
|
||||
T = t.TypeVar("T")
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ from ansible_collections.community.docker.plugins.module_utils._api.utils.proxy
|
||||
ProxyConfig,
|
||||
)
|
||||
|
||||
|
||||
HTTP = "http://test:80"
|
||||
HTTPS = "https://test:443"
|
||||
FTP = "ftp://user:password@host:23"
|
||||
|
||||
@@ -44,7 +44,6 @@ from ansible_collections.community.docker.tests.unit.plugins.module_utils._api.c
|
||||
DEFAULT_DOCKER_API_VERSION,
|
||||
)
|
||||
|
||||
|
||||
TEST_CERT_DIR = os.path.join(
|
||||
os.path.dirname(__file__),
|
||||
"testdata/certs",
|
||||
|
||||
Reference in New Issue
Block a user