Limit linters to current working directory
Change-Id: Iabf23f917e9e2c52f9c9cc04233c644dcba105de Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
3a377a0f25
commit
a5d0f0b7f3
4
tox.ini
4
tox.ini
@ -30,8 +30,8 @@ commands =
|
||||
# PEP8 Lint Check
|
||||
flake8
|
||||
# Ansible Lint Check
|
||||
bash -c "find . -type f -regex '.*.y[a]?ml' -print0 | xargs -t -n1 -0 \
|
||||
ansible-lint"
|
||||
bash -c "find . -not -path '*/\.*' -type f -regex '.*.y[a]?ml' -print0 | \
|
||||
xargs -t -n1 -0 ansible-lint"
|
||||
# Ansible Syntax Check
|
||||
bash -c "find tests -type f -regex '.*.y[a]?ml' -print | xargs -t -n1 \
|
||||
ansible-playbook --syntax-check -i tests/inventory \
|
||||
|
Loading…
Reference in New Issue
Block a user