Merge "Ignore E011 in bashate"
This commit is contained in:
commit
1cb83b586b
1 file changed
+5
-1
@@ -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
|
||||
Reference in new issue
Block a user