system-config/tools/run-bashate.sh
Jeremy Stanley 220a3ced6d Ignore bashate E010
The check for 'The "do" should be on same line as for' is not a good
rule when the loop condition is too long to fit on a single line, so
excludes more readable ways of constructing the script. Ignore it.

Also, ironically, wrap some long lines in the tools/run-bashate.sh
script since we're editing it anyway.

Change-Id: I1f2cf44896a0137fcb954f67005268faa7291d5e
2022-09-26 20:00:21 +00:00

7 lines
212 B
Bash
Executable File

#!/bin/bash
ROOT=$(readlink -fn $(dirname $0)/.. )
find $ROOT -type f -not -wholename \*.tox/\* -and \( -name \*.sh \
-or -name \*rc -or -name functions\* \) -print0 \
| xargs -0 bashate -i E006,E010 -v