2021-08-17 14:29:33 +02:00
|
|
|
#!/usr/bin/env bash
|
2016-01-13 16:44:11 +00:00
|
|
|
|
|
|
|
# Ignore E006 -- line length greater than 80 char
|
2020-04-24 15:57:55 +02:00
|
|
|
# Error on E005 -- file does not begin with #! or have .sh prefix
|
|
|
|
# Error on E042 -- local declaration hides errors
|
|
|
|
# Error on E043 -- arithmetic compound has inconsistent return semantics
|
2016-01-13 16:44:11 +00:00
|
|
|
|
|
|
|
ROOT=$(readlink -fn $(dirname $0)/.. )
|
|
|
|
find $ROOT -not -wholename \*.tox/\* -and -not -wholename \*.test/\* \
|
2020-04-24 15:57:55 +02:00
|
|
|
-and -name \*.sh -print0 | xargs -0 bashate -v --ignore E006 --error E005,E042,E043
|