Add infrared_plugin to ansible lints

Change-Id: Iabddb09048bd9aa7b1c028935fcf54fea9288387
This commit is contained in:
Federico Ressi 2020-05-13 17:43:41 +02:00
parent 12ec87e99d
commit a0ca79f017
1 changed files with 4 additions and 4 deletions

View File

@ -87,10 +87,10 @@ commands =
mypy --ignore-missing-imports tobiko/
# Ansible lint
# [ANSIBLE0012] Commands should not change things if nothing needs doing
bash -c 'find roles -maxdepth 1 -mindepth 1 -type d | \
xargs -t -n1 ansible-lint -xANSIBLE0012'
bash -c 'find playbooks -maxdepth 2 -type f -regex '.*.y[a]ml' | \
xargs -t -n1 ansible-lint -xANSIBLE0012'
bash -c 'find roles infrared_plugin/roles -maxdepth 1 -mindepth 1 -type d | \
xargs -t -n1 -P 16 ansible-lint -xANSIBLE0012'
bash -c 'find playbooks infrared_plugin -maxdepth 2 -type f -regex '.*.y[a]ml' | \
xargs -t -n1 -P 16 ansible-lint -xANSIBLE0012'
pylint -j0 --max-line-length=80 -E -e W,E \
-d unused-import,broad-except,fixme tobiko