Create linters test target

Merge bashate and pep8 into a single linters test environment.

Change-Id: I13c68da7cb69fe240179a2074512decbf2a35560
This commit is contained in:
Andreas Jaeger 2015-12-22 10:15:21 +01:00
parent c71d6b4496
commit 091ff2816c

View File

@ -1,6 +1,6 @@
[tox]
minversion = 1.6
envlist = pep8
envlist = linters
skipsdist = True
[testenv]
@ -8,6 +8,11 @@ usedevelop = True
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
[testenv:linters]
commands =
flake8
{toxinidir}/tools/run-bashate.sh
[testenv:pep8]
commands = flake8