tox.ini: run linter first

The linter finishes in a few seconds and its errors can be addressed
quickly, whereas the test suite takes a bit longer to run. Let's do
the fast thing first.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2020-01-22 03:44:08 -08:00 committed by Marti Bolivar
parent e4a1e06fe1
commit 2101a7af38
1 changed files with 1 additions and 1 deletions

View File

@ -23,5 +23,5 @@ whitelist_externals =
setenv =
TOXTEMPDIR={envtmpdir}
commands =
py.test --cov=west {posargs:tests}
flake8 --config={toxinidir}/tox.ini {toxinidir}
py.test --cov=west {posargs:tests}