mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-05 03:37:01 +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:
parent
ebaf2e71d5
commit
b769b0bc01
829 changed files with 1644 additions and 1692 deletions
|
|
@ -17,16 +17,16 @@ def _dummy(x):
|
|||
|
||||
pytestmark = []
|
||||
try:
|
||||
from .gitlab import (
|
||||
GitlabModuleTestCase,
|
||||
resp_get_project,
|
||||
resp_find_project_deploy_key,
|
||||
resp_create_project_deploy_key,
|
||||
resp_delete_project_deploy_key,
|
||||
)
|
||||
|
||||
# GitLab module requirements
|
||||
from gitlab.v4.objects import ProjectKey
|
||||
|
||||
from .gitlab import (
|
||||
GitlabModuleTestCase,
|
||||
resp_create_project_deploy_key,
|
||||
resp_delete_project_deploy_key,
|
||||
resp_find_project_deploy_key,
|
||||
resp_get_project,
|
||||
)
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue