mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-08 14:20:04 -07:00
Clean up code-smell sanity scripts. (#18407)
- Replace find ';' with '+' for faster execution. - Replace grep -R with -r to avoid recursive warnings. - Exclude .git and .tox directories from recursive grep. - Improve messaging on failed sanity checks. - Add no-basestring check to Shippable.
This commit is contained in:
parent
8c270ac75f
commit
912d6ed8cc
7 changed files with 44 additions and 41 deletions
|
@ -16,13 +16,14 @@ if [ "${install_deps}" != "" ]; then
|
|||
fi
|
||||
|
||||
yamllint .
|
||||
test/sanity/code-smell/replace-urlopen.sh .
|
||||
test/sanity/code-smell/use-compat-six.sh lib
|
||||
test/sanity/code-smell/replace-urlopen.sh
|
||||
test/sanity/code-smell/use-compat-six.sh
|
||||
test/sanity/code-smell/boilerplate.sh
|
||||
test/sanity/code-smell/required-and-default-attributes.sh
|
||||
test/sanity/code-smell/shebang.sh
|
||||
test/sanity/code-smell/line-endings.sh
|
||||
test/sanity/code-smell/empty-init.sh
|
||||
test/sanity/code-smell/no-basestring.sh
|
||||
|
||||
shellcheck \
|
||||
test/integration/targets/*/*.sh \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue