Previously only plugin.sh was validated.
At the monent some parts of the plugin
were moved under devstack/lib to increase plugin.sh
readability. Those files were not validated.
Note:
Tweaked a tox.ini by removing installing the monasca-api
package in environments that do not actually need it.
Also removed redundant references to main environment
dependencies.
Change-Id: I43381647228fad99603b5717c37496e80f409d4f
7 lines
235 B
Bash
Executable File
7 lines
235 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Ignore too long lines error E006 from bashate and treat
|
|
# E005, E042 as errors.
|
|
SH_FILES=$(find ./devstack -type d -name files -prune -o -type f -name '*.sh' -print)
|
|
bashate -v -iE006 -eE005,E042 ${SH_FILES:-''}
|