Ignore E011 in bashate
Change-Id: Id735a21cda1fc46e40b4f9ea51410d89bbf000a1
This commit is contained in:
parent
2339af1fe4
commit
0e327b9092
@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/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)/.. )
|
ROOT=$(readlink -fn $(dirname $0)/.. )
|
||||||
find $ROOT -not -wholename \*.tox/\* -and -not -wholename \*.test/\* \
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user