5224917c11
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
11 lines
419 B
Bash
Executable File
11 lines
419 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# E011 is intentionally ignored because it does not make sense; it is
|
|
# perfectly reasonable to put 'then' on a separate line when natural
|
|
# line breaks occur in long conditionals.
|
|
|
|
ROOT=$(readlink -fn $(dirname $0)/.. )
|
|
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
|