Closes-bug: #2139142 Change-Id: I65d60fe49bbc7c0fb7472d065040d7f446258705 Signed-off-by: Grzegorz Koper <grzegorzk@stackhpc.com>
12 lines
487 B
Bash
Executable File
12 lines
487 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Ignore E006 -- line length greater than 80 char
|
|
|
|
ROOT=$(readlink -fn $(dirname $0)/.. )
|
|
# NOTE(priteau): ignore E010 because it fails on one-liner bash loops:
|
|
# https://bugs.launchpad.net/bash8/+bug/1895102
|
|
find $ROOT -not -wholename \*.tox/\* -and -not -wholename \*.test/\* \
|
|
-and -not -wholename \*.ansible/\* -and -not -wholename \*venv\* \
|
|
-and -not -wholename \*/ansible/roles/\*.\*/\* \
|
|
-and -name \*.sh -print0 | xargs -0 bashate -v --ignore E006,E010
|