From 70fea7566174661f3080e80a42efdc4d26557e44 Mon Sep 17 00:00:00 2001 From: Luigi Toscano Date: Wed, 22 Mar 2017 18:22:03 +0100 Subject: [PATCH] dib-lint: adapt the value of ELEMENTS_DIR While previously the elements/ directory was checked, now the path can be specified as ELEMENTS_DIR, which defaults to diskimage_builder/elements and which must then be overridden. Change-Id: I0caf00adf16a0612c94956d4fce93bd69ff2183f --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index e4a4ed50..f5ece2c6 100644 --- a/tox.ini +++ b/tox.ini @@ -18,6 +18,8 @@ whitelist_externals = bash commands = bash -c "find {toxinidir} -not -wholename \*.tox/\* -and \( -name \*.sh -or -wholename \*.d/\* -and -not -name \*.md -and -not -name \*.rst -and -not -name \*.py \) -print0 | xargs -0 bashate -v" [testenv:pep8] +setenv = + ELEMENTS_DIR=elements commands = flake8 {posargs} {toxinidir}/tools/run_bashate.sh