2018-02-06 11:54:12 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Ignore E006 -- line length greater than 80 char
|
|
|
|
|
|
|
|
ROOT=$(readlink -fn $(dirname $0)/.. )
|
2020-09-11 15:44:17 +02:00
|
|
|
# NOTE(priteau): ignore E010 because it fails on one-liner bash loops:
|
|
|
|
# https://bugs.launchpad.net/bash8/+bug/1895102
|
2018-02-06 11:54:12 +00:00
|
|
|
find $ROOT -not -wholename \*.tox/\* -and -not -wholename \*.test/\* \
|
2021-09-20 16:47:37 +02:00
|
|
|
-and -name \*.sh -print0 | xargs -0 bashate -v --ignore E006,E010
|