typo: missing-subption-docs → missing-suboption-docs (#62180)
updates the name of the test and all ignore.txt entries
This commit is contained in:
parent
dc7a765e57
commit
48a39f5616
3 changed files with 165 additions and 165 deletions
|
@ -105,7 +105,7 @@ Codes
|
||||||
missing-python-interpreter Syntax Error Interpreter line is not ``#!/usr/bin/python``
|
missing-python-interpreter Syntax Error Interpreter line is not ``#!/usr/bin/python``
|
||||||
missing-return Documentation Error No ``RETURN`` documentation provided
|
missing-return Documentation Error No ``RETURN`` documentation provided
|
||||||
missing-return-legacy Documentation Warning No ``RETURN`` documentation provided for legacy module
|
missing-return-legacy Documentation Warning No ``RETURN`` documentation provided for legacy module
|
||||||
missing-subption-docs Documentation Error Argument in argument_spec has sub-options but documentation does not define sub-options
|
missing-suboption-docs Documentation Error Argument in argument_spec has sub-options but documentation does not define sub-options
|
||||||
module-incorrect-version-added Documentation Error Module level ``version_added`` is incorrect
|
module-incorrect-version-added Documentation Error Module level ``version_added`` is incorrect
|
||||||
module-invalid-version-added Documentation Error Module level ``version_added`` is not a valid version number
|
module-invalid-version-added Documentation Error Module level ``version_added`` is not a valid version number
|
||||||
module-utils-specific-import Imports Error ``module_utils`` imports should import specific components, not ``*``
|
module-utils-specific-import Imports Error ``module_utils`` imports should import specific components, not ``*``
|
||||||
|
|
|
@ -1398,7 +1398,7 @@ class ModuleValidator(Validator):
|
||||||
msg += " has sub-options but documentation does not define it"
|
msg += " has sub-options but documentation does not define it"
|
||||||
self.reporter.error(
|
self.reporter.error(
|
||||||
path=self.object_path,
|
path=self.object_path,
|
||||||
code='missing-subption-docs',
|
code='missing-suboption-docs',
|
||||||
msg=msg
|
msg=msg
|
||||||
)
|
)
|
||||||
self._validate_argument_spec({'options': doc_suboptions}, spec_suboptions, kwargs, context=context + [arg])
|
self._validate_argument_spec({'options': doc_suboptions}, spec_suboptions, kwargs, context=context + [arg])
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue