this enables a bashate rule for doing style checking. Fixes for issues found will come in a second patch so any rules that people want ignored could be debated there. Change-Id: I7dffa587784297ec65596a36c0600473cfa591c6
14 lines
272 B
INI
14 lines
272 B
INI
[tox]
|
|
envlist = bashate
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:bashate]
|
|
commands =
|
|
bash -c "ls *.sh | xargs bashate -v {posargs}"
|