1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 05:09:12 +00:00

Sort imports with ruff check --fix (#11400)

Sort imports with ruff check --fix.
This commit is contained in:
Felix Fontein 2026-01-09 07:40:58 +01:00 committed by GitHub
parent 0e6ba07261
commit 236b9c0e04
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
829 changed files with 1644 additions and 1692 deletions

View file

@ -59,11 +59,11 @@ current_release:
type: str
"""
from ansible.module_utils.basic import AnsibleModule
import os
import re
from ansible.module_utils.basic import AnsibleModule
# Matches release-like values such as 7.2, 5.10, 6Server, 8
# but rejects unlikely values, like 100Server, 1.100, 7server etc.
release_matcher = re.compile(r"\b\d{1,2}(?:\.\d{1,2}|Server|Client|Workstation|)\b")