Skip to content

Commit

Permalink
tox.ini: move pytest first, before style checkers
Browse files Browse the repository at this point in the history
This is required to test code that includes temporary test hacks that
don't pass style checks.

People write ugly code first. Then they make it prettier.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information
marc-hb authored and mbolivar-ampere committed Sep 1, 2023
1 parent dacb54b commit 80be0ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ deps =
setenv =
TOXTEMPDIR={envtmpdir}
commands =
python -m pytest --cov=west {posargs:tests}
python -m flake8 --config={toxinidir}/tox.ini {toxinidir}
python -m mypy --config-file={toxinidir}/tox.ini --package=west
python -m pytest --cov=west {posargs:tests}

0 comments on commit 80be0ec

Please sign in to comment.