mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Report missing ansible.module_utils.basic import as a warning (#31)
For new Networking modules we import via another library See sivel/ansible-testing/issue/30
This commit is contained in:
parent
43c028d52d
commit
247066e6a8
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ class ModuleValidator(Validator):
|
|||
if not linenos:
|
||||
self.errors.append('Did not find a module_utils import')
|
||||
elif not found_basic:
|
||||
self.errors.append('Did not find "ansible.module_utils.basic" '
|
||||
self.warnings.append('Did not find "ansible.module_utils.basic" '
|
||||
'import')
|
||||
|
||||
return linenos
|
||||
|
|
Loading…
Reference in a new issue