mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42: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: dconf
|
||||
author:
|
||||
@@ -134,12 +133,13 @@ from ansible.module_utils.common.respawn import (
|
||||
probe_interpreters_for_module,
|
||||
respawn_module,
|
||||
)
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils import deps
|
||||
|
||||
glib_module_name = "gi.repository.GLib"
|
||||
|
||||
try:
|
||||
from gi.repository.GLib import Variant, GError
|
||||
from gi.repository.GLib import GError, Variant
|
||||
except ImportError:
|
||||
Variant = None
|
||||
GError = AttributeError
|
||||
|
||||
Reference in New Issue
Block a user