Clarify that RETURN is a form of documentation
This commit is contained in:
parent
fca2f088ea
commit
ef55f9a243
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ class ModuleValidator(Validator):
|
|||
self.errors.append('No EXAMPLES provided')
|
||||
if not bool(ret):
|
||||
if self._is_new_module():
|
||||
self.errors.append('No RETURN provided')
|
||||
self.errors.append('No RETURN documentation provided')
|
||||
else:
|
||||
self.warnings.append('No RETURN provided')
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue