mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 10:40:22 -07:00
Remove unnecessary test imports (#5978)
Remove unnecessary test imports.
This commit is contained in:
parent
2b8ac3c629
commit
9f87989e7f
71 changed files with 70 additions and 121 deletions
|
@ -34,7 +34,7 @@ from ansible_collections.community.general.plugins.module_utils.module_helper im
|
|||
from ansible.module_utils.basic import missing_required_lib
|
||||
|
||||
with ModuleHelper.dependency("nopackagewiththisname", missing_required_lib("nopackagewiththisname")):
|
||||
import nopackagewiththisname
|
||||
import nopackagewiththisname # noqa: F401, pylint: disable=unused-import
|
||||
|
||||
|
||||
class MSimple(ModuleHelper):
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from __future__ import absolute_import, division, print_function
|
||||
import collections
|
||||
__metaclass__ = type
|
||||
|
||||
DOCUMENTATION = '''
|
||||
|
@ -26,7 +25,9 @@ EXAMPLES = ""
|
|||
RETURN = ""
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.module_helper import ModuleHelper
|
||||
from ansible_collections.community.general.plugins.module_utils.mh.mixins.deprecate_attrs import DeprecateAttrsMixin
|
||||
from ansible_collections.community.general.plugins.module_utils.mh.mixins.deprecate_attrs import ( # noqa: F401, pylint: disable=unused-import
|
||||
DeprecateAttrsMixin
|
||||
)
|
||||
|
||||
|
||||
class MSimpleDA(ModuleHelper):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue