Merge "Automate Bash style check"
This commit is contained in:
commit
fcb356bbd9
@ -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
|
||||
|
5
tox.ini
5
tox.ini
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user