Exclude playbooks/legacy from bashate linter

playbooks/legacy will contain a bunch of automatically migrated
bash things that we don't necessarily expect will be up to bashate
standards. Let's not run bashate on those.

Change-Id: Ibd3cc91ab370d42f6d80b03e5a6c91410621dc5d
This commit is contained in:
David Moreau-Simard 2017-09-20 23:16:57 -04:00
parent 36c6677734
commit 5224917c11
No known key found for this signature in database
GPG Key ID: 33A07694CBB71ECC
1 changed files with 2 additions and 1 deletions

View File

@ -5,5 +5,6 @@
# line breaks occur in long conditionals.
ROOT=$(readlink -fn $(dirname $0)/.. )
find $ROOT -not -wholename \*.tox/\* -and -not -wholename \*.test/\* \
find $ROOT -not -path '*playbooks/legacy/*' -and -not -wholename \*.tox/\* \
-and -not -wholename \*.test/\* \
-and -name \*.sh -print0 | xargs -0 bashate -v --ignore E006,E011