Merge "Automate Bash style check"

This commit is contained in:
Jenkins 2015-04-19 12:58:00 +00:00 committed by Gerrit Code Review
commit fcb356bbd9
2 changed files with 6 additions and 0 deletions

@ -7,3 +7,4 @@ pbr>=0.6,<1.0
oslosphinx
sphinx>=1.1.2,<1.2
hieroglyph>=0.5
bashate # pep8 equivalent for bash scripts

@ -30,6 +30,11 @@ commands =
bash {toxinidir}/tools/generatelabs
bash {toxinidir}/tools/generateslides
[testenv:bashate_check]
commands =
# Bashate all scripts
bash -c "find labs/ -iname '*.sh' -print0 | xargs -0 bashate"
[doc8]
# Settings for doc8:
# File extensions to use