mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +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:
@@ -17,18 +17,18 @@ def _dummy(x):
|
||||
|
||||
pytestmark = []
|
||||
try:
|
||||
# GitLab module requirements
|
||||
from gitlab.v4.objects import Group
|
||||
|
||||
from .gitlab import (
|
||||
GitlabModuleTestCase,
|
||||
resp_get_group,
|
||||
resp_get_missing_group,
|
||||
resp_create_group,
|
||||
resp_create_subgroup,
|
||||
resp_delete_group,
|
||||
resp_find_group_project,
|
||||
resp_get_group,
|
||||
resp_get_missing_group,
|
||||
)
|
||||
|
||||
# GitLab module requirements
|
||||
from gitlab.v4.objects import Group
|
||||
except ImportError:
|
||||
pytestmark.append(pytest.mark.skip("Could not load gitlab module required for testing"))
|
||||
# Need to set these to something so that we don't fail when parsing
|
||||
|
||||
Reference in New Issue
Block a user