mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-25 00:44:42 +00:00
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.
This commit is contained in:
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -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
|
|||||||
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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user