Add infrared_plugin to ansible lints
Change-Id: Iabddb09048bd9aa7b1c028935fcf54fea9288387
This commit is contained in:
parent
12ec87e99d
commit
a0ca79f017
8
tox.ini
8
tox.ini
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user