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
This commit is contained in:
Tom Barron 2017-01-16 14:02:45 -05:00
parent bd607f1968
commit d0da393ac6
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#!/bin/bash
export DIB_MANILA_USER_USERNAME=${DIB_MANILA_USER_USERNAME:-manila}
export DIB_MANILA_USER_AUTHORIZED_KEYS=${DIB_MANILA_USER_AUTHORIZED_KEYS:-}
export DIB_MANILA_USER_PASSWORD=${DIB_MANILA_USER_PASSWORD:-}

View File

@ -4,4 +4,4 @@ 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
-print0 | xargs -0 bashate -v -i E006