Add a new check to ensure that module arguments are valid python identifiers (#53278)

* Add a new check to ensure that module arguments are valid python identifiers

* Move the check up higher, out of the if docs block

* Skip validate-modules on py2

* Remove errant alias
This commit is contained in:
Matt Martz 2019-03-05 10:26:06 -06:00 committed by GitHub
commit a639dc6d88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 40 additions and 4 deletions

View file

@ -128,7 +128,7 @@ Errors
333 ``ANSIBLE_METADATA.status`` of deprecated or removed can't include other statuses
334 ``ANSIBLE_METADATA`` cannot be changed in a point release for a stable branch
335 argument_spec implies type="str" but documentation defines it as different data type
336 argument in argument_spec is not a valid python identifier
..
--------- -------------------
**4xx** **Syntax**