summaryrefslogtreecommitdiff
path: root/tools/run_bashate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/run_bashate.sh')
-rwxr-xr-xtools/run_bashate.sh19
1 files changed, 7 insertions, 12 deletions
diff --git a/tools/run_bashate.sh b/tools/run_bashate.sh
index c3993a9f2..1f1acdb90 100755
--- a/tools/run_bashate.sh
+++ b/tools/run_bashate.sh
@@ -12,16 +12,11 @@
# License for the specific language governing permissions and limitations
# under the License.
-find "$@" -not \( -type d -name .?\* -prune \) \
- -type f \
- -not -name \*.swp \
- -not -name \*~ \
- -not -name \*.xml \
- -not -name \*.template \
- -not -name \*.py \
- \( \
- -name \*.sh -or \
- -wholename \*/lib/\* -or \
- -wholename \*/tools/\* \
- \) \
+find "$@" -not \( -type d -name .?\* -prune \) \
+ -type f \
+ \( \
+ -wholename \*/devstack/files/hooks/qemu -or \
+ -wholename \*/devstack/lib/ironic -or \
+ -name \*.sh \
+ \) \
-print0 | xargs -0 bashate -v -iE006 -eE005,E042