1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02: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:
Toshio Kuratomi 2017-07-27 01:53:02 -07:00
parent 6a57ad34c0
commit 6ac683ca19

View file

@ -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