mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-14 18:11:43 -07:00
[stalbe-5] Remove unnecessary test imports (#5980)
Remove unnecessary test imports (#5978)
Remove unnecessary test imports.
(cherry picked from commit 9f87989e7f
)
This commit is contained in:
parent
24210b32cf
commit
66e3c19a57
66 changed files with 96 additions and 114 deletions
|
@ -5,7 +5,6 @@
|
|||
from __future__ import (absolute_import, division, print_function)
|
||||
__metaclass__ = type
|
||||
|
||||
import requests
|
||||
import re
|
||||
import json
|
||||
import sys
|
||||
|
|
|
@ -31,7 +31,7 @@ try:
|
|||
|
||||
# GitLab module requirements
|
||||
if python_version_match_requirement():
|
||||
from gitlab.v4.objects import Project
|
||||
from gitlab.v4.objects import Project # noqa: F401, pylint: disable=unused-import
|
||||
gitlab_req_version = python_gitlab_version_match_requirement()
|
||||
gitlab_module_version = python_gitlab_module_version()
|
||||
if LooseVersion(gitlab_module_version) < LooseVersion(gitlab_req_version):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue