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:
parent
36c6677734
commit
5224917c11
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user