2014-09-29 13:28:19 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
2016-01-07 16:51:45 -08:00
|
|
|
# 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.
|
|
|
|
|
2014-09-29 13:28:19 -07:00
|
|
|
ROOT=$(readlink -fn $(dirname $0)/.. )
|
2017-09-20 23:16:57 -04:00
|
|
|
find $ROOT -not -path '*playbooks/legacy/*' -and -not -wholename \*.tox/\* \
|
|
|
|
-and -not -wholename \*.test/\* \
|
2018-03-26 09:12:29 +02:00
|
|
|
-and -name \*.sh -print0 | xargs -0 bashate --ignore E006,E011
|