mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Initial ansible-test sanity docs. (#26775)
* Rename no-iterkeys test for consistency. * Require docs for all ansible-test sanity tests. * Initial ansible-test sanity docs. * Fix capitalization of Python. * Fix sanity code smell test false positives. * Fix another code-smell false positive.
This commit is contained in:
parent
b9a1998af5
commit
789218c215
33 changed files with 255 additions and 2 deletions
|
@ -6,6 +6,8 @@ BASESTRING_USERS=$(grep -r basestring . \
|
|||
| grep isinstance \
|
||||
| grep -v \
|
||||
-e test/results/ \
|
||||
-e docs/docsite/_build/ \
|
||||
-e docs/docsite/rst/dev_guide/testing/sanity/ \
|
||||
-e lib/ansible/module_utils/six/_six.py \
|
||||
-e lib/ansible/modules/ \
|
||||
-e '^[^:]*:#'
|
||||
|
|
|
@ -7,8 +7,11 @@ ITERKEYS_USERS=$(grep -r -I iterkeys . \
|
|||
--exclude-dir docsite \
|
||||
--exclude-dir results \
|
||||
| grep -v \
|
||||
-e 'metadata-.*.json:' \
|
||||
-e lib/ansible.egg-info/ \
|
||||
-e lib/ansible/module_utils/six/_six.py \
|
||||
-e test/sanity/code-smell/no-iterkeys.sh \
|
||||
-e docs/docsite/rst/dev_guide/testing/sanity/ \
|
||||
-e test/sanity/code-smell/no-dict-iterkeys.sh \
|
||||
-e '^[^:]*:#'
|
||||
)
|
||||
|
|
@ -5,6 +5,8 @@ CMP_USERS=$(grep -rI ' cmp[^a-zA-Z0-9_:=]' . \
|
|||
| grep -v \
|
||||
-e lib/ansible/module_utils/six/_six.py \
|
||||
-e .git \
|
||||
-e docs/docsite/_build/ \
|
||||
-e docs/docsite/rst/dev_guide/testing/sanity/ \
|
||||
-e test/sanity/code-smell/no-list-cmp.sh
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue