mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user