From 80be0ecb417fd068d0fbbb16af78cc225792c84e Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Thu, 31 Aug 2023 14:36:00 -0700 Subject: [PATCH] tox.ini: move pytest first, before style checkers 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 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index eb12a1a..a321069 100644 --- a/tox.ini +++ b/tox.ini @@ -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}