Enable pylint in utils/lint_check.sh

The script utils/lint_check.sh should be used before push commits
to the repository. This change enables pylint to be executed by
the script.
This commit is contained in:
Rafael Guterres Jeffman
2021-05-25 18:42:02 -03:00
parent 967f9c7474
commit f7698271bd

View File

@@ -4,6 +4,7 @@ topdir="`dirname $(dirname $0)`"
flake8 .
pydocstyle .
pylint plugins
ANSIBLE_LIBRARY=${ANSIBLE_LIBRARY:-"${topdir}/plugins/modules"}
ANSIBLE_MODULE_UTILS=${ANSIBLE_MODULE_UTILS:-"${topdir}/plugins/module_utils"}
@@ -24,5 +25,5 @@ done
for dir in "${yaml_dirs[@]}"
do
find "${dir}" -type f -name "*.yml" | xargs yamllint
find "${dir}" -type f -name "*.yml" | xargs yamllint
done