mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
789218c215
* 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.
19 lines
429 B
Bash
Executable file
19 lines
429 B
Bash
Executable file
#!/bin/sh
|
|
|
|
BASESTRING_USERS=$(grep -r basestring . \
|
|
--exclude-dir .git \
|
|
--exclude-dir .tox \
|
|
| 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 '^[^:]*:#'
|
|
)
|
|
|
|
if [ "${BASESTRING_USERS}" ]; then
|
|
echo "${BASESTRING_USERS}"
|
|
exit 1
|
|
fi
|