manila-image-elements/tools/run_bashate.sh
Tom Barron d0da393ac6 Suppress some bashate warnings
When running ``tox`` for manila image elements bashate warnings
are emitted for lines that are too long.  Suppress these since
we have no intention of enforcing that requirement.  Also add a
shebang to the top of a shell script, which does no harm (even
though it is not needed when sourcing the script to set env files)
in order to make another warning go away.

TrivialFix

Change-Id: I7f2f2723f99d64a0e28b4d0fe43b79e7201f6121
2017-01-16 14:05:50 -05:00

8 lines
251 B
Bash
Executable File

#!/bin/bash -xe
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 \) \
-print0 | xargs -0 bashate -v -i E006