summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Belanger <pabelanger@redhat.com>2018-04-26 15:24:04 -0400
committerPaul Belanger <pabelanger@redhat.com>2018-04-26 15:24:04 -0400
commite4a7b6c70d719dd799ced34044a392f6fb004095 (patch)
treec82f29feaef55388e83d481ce83fda059be7a353
parent7ff7731c8914acf697562b085245f92b9128be0c (diff)
Limit linters to current working directory
Change-Id: Ia50f351327ba90be8b8d846318cfa014560067c0 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Notes
Notes (review): Code-Review+2: Paul Belanger <pabelanger@redhat.com> Workflow+1: Paul Belanger <pabelanger@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 26 Apr 2018 20:07:18 +0000 Reviewed-on: https://review.openstack.org/564594 Project: openstack/ansible-role-nodepool Branch: refs/heads/master
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index f4c5971..dc90799 100644
--- a/tox.ini
+++ b/tox.ini
@@ -35,8 +35,8 @@ commands =
35 # PEP8 Lint Check 35 # PEP8 Lint Check
36 flake8 36 flake8
37 # Ansible Lint Check 37 # Ansible Lint Check
38 bash -c "find . -type f -regex '.*.y[a]?ml' -print0 | xargs -t -n1 -0 \ 38 bash -c "find . -not -path '*/\.*' -type f -regex '.*.y[a]?ml' -print0 | \
39 ansible-lint" 39 xargs -t -n1 -0 ansible-lint"
40 # Ansible Syntax Check 40 # Ansible Syntax Check
41 bash -c "find tests -type f -regex '.*.y[a]?ml' -print | xargs -t -n1 \ 41 bash -c "find tests -type f -regex '.*.y[a]?ml' -print | xargs -t -n1 \
42 ansible-playbook --syntax-check -i tests/inventory \ 42 ansible-playbook --syntax-check -i tests/inventory \