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

pylint: Enable pylint for ansible-freeipa roles.

This patch enables pylint evaluation for ansible-freeipa roles in
both the local script 'utils/lint-check.sh' and in upstream CI.
parent bf555527
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ jobs: ...@@ -75,7 +75,7 @@ jobs:
- name: Run pylint - name: Run pylint
run: | run: |
pip install pylint==2.10.2 pip install pylint==2.10.2
pylint plugins --disable=import-error pylint plugins roles --disable=import-error
shellcheck: shellcheck:
name: Shellcheck name: Shellcheck
......
...@@ -13,7 +13,7 @@ flake8 plugins utils roles setup.py ...@@ -13,7 +13,7 @@ flake8 plugins utils roles setup.py
echo -e "${INFO}Running 'pydocstyle'...${RST}" echo -e "${INFO}Running 'pydocstyle'...${RST}"
pydocstyle plugins utils roles setup.py pydocstyle plugins utils roles setup.py
echo -e "${INFO}Running 'pylint'...${RST}" echo -e "${INFO}Running 'pylint'...${RST}"
pylint plugins setup.py pylint plugins roles setup.py
ANSIBLE_LIBRARY="${ANSIBLE_LIBRARY:-plugins/modules}" ANSIBLE_LIBRARY="${ANSIBLE_LIBRARY:-plugins/modules}"
ANSIBLE_MODULE_UTILS="${ANSIBLE_MODULE_UTILS:-plugins/module_utils}" ANSIBLE_MODULE_UTILS="${ANSIBLE_MODULE_UTILS:-plugins/module_utils}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment