From 091ff2816c810c47ff4d6c004cd3aaf13b9f76ff Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 22 Dec 2015 10:15:21 +0100 Subject: [PATCH] Create linters test target Merge bashate and pep8 into a single linters test environment. Change-Id: I13c68da7cb69fe240179a2074512decbf2a35560 --- tox.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index f2fbcce206..87151c9801 100644 --- a/tox.ini +++ b/tox.ini @@ -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