Skip to content
Snippets Groups Projects
Commit f7698271 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

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.
parent 967f9c74
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ topdir="`dirname $(dirname $0)`" ...@@ -4,6 +4,7 @@ topdir="`dirname $(dirname $0)`"
flake8 . flake8 .
pydocstyle . pydocstyle .
pylint plugins
ANSIBLE_LIBRARY=${ANSIBLE_LIBRARY:-"${topdir}/plugins/modules"} ANSIBLE_LIBRARY=${ANSIBLE_LIBRARY:-"${topdir}/plugins/modules"}
ANSIBLE_MODULE_UTILS=${ANSIBLE_MODULE_UTILS:-"${topdir}/plugins/module_utils"} ANSIBLE_MODULE_UTILS=${ANSIBLE_MODULE_UTILS:-"${topdir}/plugins/module_utils"}
...@@ -24,5 +25,5 @@ done ...@@ -24,5 +25,5 @@ done
for dir in "${yaml_dirs[@]}" for dir in "${yaml_dirs[@]}"
do do
find "${dir}" -type f -name "*.yml" | xargs yamllint find "${dir}" -type f -name "*.yml" | xargs yamllint
done done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment