mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +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: jenkins_credential
|
||||
short_description: Manage Jenkins credentials and domains through API
|
||||
@@ -317,14 +316,15 @@ token_uuid:
|
||||
returned: success
|
||||
"""
|
||||
|
||||
from urllib.parse import urlencode
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.urls import fetch_url, basic_auth_header
|
||||
from ansible_collections.community.general.plugins.module_utils import deps
|
||||
|
||||
import base64
|
||||
import json
|
||||
import os
|
||||
import base64
|
||||
from urllib.parse import urlencode
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.urls import basic_auth_header, fetch_url
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils import deps
|
||||
|
||||
with deps.declare("urllib3", reason="urllib3 is required to embed files into requests"):
|
||||
import urllib3
|
||||
|
||||
Reference in New Issue
Block a user