Ignore *.service files when linting bash scripts
Prevents this bashate warning: ./elements/manila-ssh/install.d/fetch-public-ssh-keys.service:1:1: E005 File does not begin with #! or have .sh prefix TrivialFix Change-Id: I9e4e6b96730ddc62ac1094ec4af0c84863acc60f Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
This commit is contained in:
parent
d9d2f16360
commit
7725e2cbbf
@ -4,5 +4,5 @@ find ./ -not -wholename \*.tox/\* -and \
|
||||
\( -name \*.sh -or -wholename \*.d/\* -and \
|
||||
-not -name \*.md -and -not -name \*.rst -and \
|
||||
-not -name \*.py -and -not -name \*.conf \) \
|
||||
-not -name \*.yaml \
|
||||
-not -name \*.service -not -name \*.yaml \
|
||||
-print0 | xargs -0 bashate -v -i E006
|
||||
|
Loading…
Reference in New Issue
Block a user