Re-sort imports.

This commit is contained in:
Felix Fontein
2025-12-25 21:59:01 +01:00
parent 42121e3326
commit 712d920941
106 changed files with 0 additions and 127 deletions
@@ -7,7 +7,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: current_container_facts
short_description: Return facts about whether the module runs in a container
-1
View File
@@ -8,7 +8,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_compose_v2
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_compose_v2_exec
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_compose_v2_pull
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_compose_v2_run
-2
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_config
@@ -200,7 +199,6 @@ import hashlib
import traceback
import typing as t
try:
from docker.errors import APIError, DockerException
except ImportError:
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_container
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_container_copy_into
@@ -198,7 +197,6 @@ from ansible_collections.community.docker.plugins.module_utils._scramble import
scramble,
)
if t.TYPE_CHECKING:
import tarfile
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_container_exec
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_container_info
-2
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_context_info
@@ -193,7 +192,6 @@ from ansible_collections.community.docker.plugins.module_utils._api.errors impor
DockerException,
)
if t.TYPE_CHECKING:
from ansible_collections.community.docker.plugins.module_utils._api.tls import (
TLSConfig,
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_host_info
-2
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_image
@@ -413,7 +412,6 @@ from ansible_collections.community.docker.plugins.module_utils._version import (
LooseVersion,
)
if t.TYPE_CHECKING:
from collections.abc import Callable
-2
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_image_build
@@ -304,7 +303,6 @@ from ansible_collections.community.docker.plugins.module_utils._version import (
LooseVersion,
)
if t.TYPE_CHECKING:
from ansible.module_utils.basic import AnsibleModule
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_image_export
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_image_info
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_image_load
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_image_pull
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_image_push
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_image_remove
-2
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_image_tag
@@ -121,7 +120,6 @@ from ansible_collections.community.docker.plugins.module_utils._util import (
is_valid_tag,
)
if t.TYPE_CHECKING:
from ansible.module_utils.basic import AnsibleModule
-1
View File
@@ -9,7 +9,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_login
short_description: Log into a Docker registry
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_network
short_description: Manage Docker networks
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_network_info
-2
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_node
short_description: Manage Docker Swarm node
@@ -136,7 +135,6 @@ node:
import traceback
import typing as t
try:
from docker.errors import APIError, DockerException
except ImportError:
-2
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_node_info
@@ -96,7 +95,6 @@ from ansible_collections.community.docker.plugins.module_utils._swarm import (
AnsibleDockerSwarmClient,
)
try:
from docker.errors import DockerException
except ImportError:
-1
View File
@@ -7,7 +7,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_plugin
short_description: Manage Docker plugins
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_prune
-2
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_secret
@@ -192,7 +191,6 @@ import hashlib
import traceback
import typing as t
try:
from docker.errors import APIError, DockerException
except ImportError:
-2
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_stack
author: "Dario Zanzico (@dariko)"
@@ -168,7 +167,6 @@ from ansible_collections.community.docker.plugins.module_utils._common_cli impor
DockerException,
)
try:
from jsondiff import diff as json_diff
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_stack_info
author: "Jose Angel Munoz (@imjoseangel)"
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_stack_task_info
author: "Jose Angel Munoz (@imjoseangel)"
-2
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_swarm
short_description: Manage Swarm cluster
@@ -294,7 +293,6 @@ import json
import traceback
import typing as t
try:
from docker.errors import APIError, DockerException
except ImportError:
-2
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_swarm_info
@@ -188,7 +187,6 @@ tasks:
import traceback
import typing as t
try:
from docker.errors import APIError, DockerException
except ImportError:
-2
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_swarm_service
author:
@@ -874,7 +873,6 @@ from ansible_collections.community.docker.plugins.module_utils._version import (
LooseVersion,
)
try:
from docker import types
from docker.errors import (
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_swarm_service_info
@@ -65,7 +64,6 @@ service:
import traceback
import typing as t
try:
from docker.errors import DockerException
except ImportError:
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_volume
short_description: Manage Docker volumes
-1
View File
@@ -6,7 +6,6 @@
from __future__ import annotations
DOCUMENTATION = r"""
module: docker_volume_info
short_description: Retrieve facts about Docker volumes