diff --git a/tools/run-bashate.sh b/tools/run-bashate.sh index 66b72b5e5a..15dd062841 100755 --- a/tools/run-bashate.sh +++ b/tools/run-bashate.sh @@ -1,5 +1,9 @@ #!/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 -wholename \*.tox/\* -and -not -wholename \*.test/\* \ - -and -name \*.sh -print0 | xargs -0 bashate -v --ignore E006 + -and -name \*.sh -print0 | xargs -0 bashate -v --ignore E006,E011