mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Make all doc fragments, module utils, and plugin utils private (#11896)
* Make all doc fragments private. * Make all plugin utils private. * Make all module utils private. * Reformat. * Changelog fragment. * Update configs and ignores. * Adjust unit test names.
This commit is contained in:
@@ -15,8 +15,8 @@ RETURN = ""
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.cmd_runner import CmdRunner
|
||||
from ansible_collections.community.general.plugins.module_utils.cmd_runner import cmd_runner_fmt as fmt
|
||||
from ansible_collections.community.general.plugins.module_utils._cmd_runner import CmdRunner
|
||||
from ansible_collections.community.general.plugins.module_utils._cmd_runner import cmd_runner_fmt as fmt
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
@@ -28,8 +28,8 @@ EXAMPLES = ""
|
||||
|
||||
RETURN = ""
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils import deps
|
||||
from ansible_collections.community.general.plugins.module_utils.module_helper import ModuleHelper
|
||||
from ansible_collections.community.general.plugins.module_utils import _deps as deps
|
||||
from ansible_collections.community.general.plugins.module_utils._module_helper import ModuleHelper
|
||||
|
||||
with deps.declare("nopackagewiththisname"):
|
||||
import nopackagewiththisname # noqa: F401, pylint: disable=unused-import # type: ignore[import-not-found]
|
||||
|
||||
@@ -28,8 +28,8 @@ EXAMPLES = ""
|
||||
|
||||
RETURN = ""
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.mh.deco import check_mode_skip
|
||||
from ansible_collections.community.general.plugins.module_utils.module_helper import ModuleHelper
|
||||
from ansible_collections.community.general.plugins.module_utils._mh.deco import check_mode_skip
|
||||
from ansible_collections.community.general.plugins.module_utils._module_helper import ModuleHelper
|
||||
|
||||
|
||||
class MSimple(ModuleHelper):
|
||||
|
||||
@@ -22,10 +22,10 @@ EXAMPLES = ""
|
||||
|
||||
RETURN = ""
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.mh.mixins.deprecate_attrs import ( # noqa: F401, pylint: disable=unused-import
|
||||
from ansible_collections.community.general.plugins.module_utils._mh.mixins.deprecate_attrs import ( # noqa: F401, pylint: disable=unused-import
|
||||
DeprecateAttrsMixin,
|
||||
)
|
||||
from ansible_collections.community.general.plugins.module_utils.module_helper import ModuleHelper
|
||||
from ansible_collections.community.general.plugins.module_utils._module_helper import ModuleHelper
|
||||
|
||||
|
||||
class MSimpleDA(ModuleHelper):
|
||||
|
||||
@@ -34,7 +34,7 @@ EXAMPLES = ""
|
||||
|
||||
RETURN = ""
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.module_helper import StateModuleHelper
|
||||
from ansible_collections.community.general.plugins.module_utils._module_helper import StateModuleHelper
|
||||
|
||||
|
||||
class MState(StateModuleHelper):
|
||||
|
||||
Reference in New Issue
Block a user