mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +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:
@@ -6,7 +6,6 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
DOCUMENTATION = r"""
|
||||
module: pipx
|
||||
short_description: Manages applications installed with pipx
|
||||
@@ -212,17 +211,17 @@ version:
|
||||
"""
|
||||
|
||||
|
||||
from ansible.module_utils.facts.compat import ansible_facts
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.module_helper import StateModuleHelper
|
||||
from ansible_collections.community.general.plugins.module_utils.pipx import (
|
||||
pipx_runner,
|
||||
pipx_common_argspec,
|
||||
make_process_dict,
|
||||
pipx_common_argspec,
|
||||
pipx_runner,
|
||||
)
|
||||
from ansible_collections.community.general.plugins.module_utils.pkg_req import PackageRequirement
|
||||
from ansible_collections.community.general.plugins.module_utils.version import LooseVersion
|
||||
|
||||
from ansible.module_utils.facts.compat import ansible_facts
|
||||
|
||||
|
||||
def _make_name(name, suffix):
|
||||
return name if suffix is None else f"{name}{suffix}"
|
||||
|
||||
Reference in New Issue
Block a user