aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-01-13 22:03:39 +0000
committerGerrit Code Review <review@openstack.org>2016-01-13 22:03:39 +0000
commitcea76a1b866b16d8ca374d9a97e46930202be4b8 (patch)
tree33cb88756e8844a6c0c6e36100f04f0def6c4659 /tools
parent2d7dce6d26b6324e5fb104df65587ad7a8b6c1af (diff)
parentb863a46805c03ec755e7e69f1964d6231ed56ec5 (diff)
downloadkolla-cea76a1b866b16d8ca374d9a97e46930202be4b8.tar.gz
kolla-cea76a1b866b16d8ca374d9a97e46930202be4b8.zip
Merge "Standardize bashate and add linters"
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run-bashate.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/run-bashate.sh b/tools/run-bashate.sh
new file mode 100755
index 000000000..897228c81
--- /dev/null
+++ b/tools/run-bashate.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# Ignore E006 -- line length greater than 80 char
+
+ROOT=$(readlink -fn $(dirname $0)/.. )
+find $ROOT -not -wholename \*.tox/\* -and -not -wholename \*.test/\* \
+ -and -name \*.sh -print0 | xargs -0 bashate -v --ignore E006