From: John Mulligan Date: Sat, 9 Mar 2024 16:50:11 +0000 (-0500) Subject: cephadm: reorder tox env to run fastest tasks first X-Git-Tag: v19.1.0~165^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=977666bf619670cdad5691aa53b7f8c85c76f454;p=ceph.git cephadm: reorder tox env to run fastest tasks first Reorder the tox environments so that the simplest, fastest running tools execute first. This can be handy when running tox locally (say in a pre-commit workflow) and you get to see a formatting or mypy error before the slower unit tests begin you can abort the tests and fix up the formatting instead of waiting for all unit tests to run only to find out you need to make changes to fix formatting problems. Signed-off-by: John Mulligan (cherry picked from commit 2552ac9a7d479ee27cc3241b5e20f3cd85fd521c) --- diff --git a/src/cephadm/tox.ini b/src/cephadm/tox.ini index 8c3728ff4c9b..a6b2601c76e2 100644 --- a/src/cephadm/tox.ini +++ b/src/cephadm/tox.ini @@ -1,9 +1,9 @@ [tox] envlist = - py3 - mypy flake8 + mypy check-black + py3 skipsdist = true [flake8]