0358d1f175
Enable bashate errors E010 and E011 which require "then" and "do" tokens on the same lines as "if" and "while" respectively. Change-Id: I4a167530a21ab95d5dbe9f903facc9566a0461e2
17 lines
580 B
INI
17 lines
580 B
INI
[tox]
|
|
envlist = py27, py33
|
|
|
|
[testenv]
|
|
deps = {env:BASHATE_INSTALL_PATH:bashate==0.5.1}
|
|
|
|
[testenv:bashate]
|
|
whitelist_externals = bash
|
|
commands = bash -c "find {toxinidir} \
|
|
-not \( -type d -name .?\* -prune \) \
|
|
-not \( -type d -name output-\* -prune \) \
|
|
-not \( -type d -name overlay-\* -prune \) \
|
|
-not \( -type d -name buildroot -prune \) \
|
|
-not \( -type d -name download -prune \) \
|
|
-type f -name \*.sh \
|
|
-print0 | xargs -0 bashate -v"
|