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
pull/27400/merge
Toshio Kuratomi 7 years ago
parent 6a57ad34c0
commit 6ac683ca19

@ -1,4 +1,7 @@
#!/usr/bin/python #!/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.basic import AnsibleModule
from ansible.module_utils.json_utils import data from ansible.module_utils.json_utils import data
from ansible.module_utils.mork import data as mork_data from ansible.module_utils.mork import data as mork_data

Loading…
Cancel
Save