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
(cherry picked from commit 70fea75661
)
This commit is contained in:
parent
114c3903a2
commit
7790e81a5c
2
tox.ini
2
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
|
||||
|
|
Loading…
Reference in New Issue