mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Sort imports with ruff check --fix (#11400)
Sort imports with ruff check --fix.
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