Merge "Ignore E011 in bashate"

This commit is contained in:
Jenkins authored and Gerrit Code Review committed 2016-01-08 01:33:24 +00:00
commit 1cb83b586b
1 file changed
+5 -1
+5 -1
View File
@@ -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