mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00: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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user