Restrict bashate to devstack/lib instead of lib

`lib` is too general in *nix systems and CI can clone the project to
directories that contain it (like `/var/lib/`) which leads to bashate
running on files it should not run (like `devstack/settings`) and fail.

Change-Id: Ia618b10a1c1c483f58bb4380af77c24e7fc2f01c
changes/21/625221/1
Pavlo Shchelokovskyy 2018-12-14 13:39:20 +02:00
parent 8bd85537a1
commit d5faf74dae
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ find "$@" -not \( -type d -name .?\* -prune \) \
-not -name \*.py \
\( \
-name \*.sh -or \
-wholename \*/lib/\* -or \
-wholename \*/devstack/lib/\* -or \
-wholename \*/tools/\* \
\) \
-print0 | xargs -0 bashate -v -iE006 -eE005,E042