mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-25 07:56:38 +00:00
Disable pylint check for names existing in modules for test data
This test data imports from modules which are only available via PluginLoader for this test case. So pylint doesn't know anything about them
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
#!/usr/bin/python
|
||||
# Most of these names are only available via PluginLoader so pylint doesn't
|
||||
# know they exist
|
||||
# pylint: disable=no-name-in-module
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.json_utils import data
|
||||
from ansible.module_utils.mork import data as mork_data
|
||||
|
||||
Reference in New Issue
Block a user