From 2552ac9a7d479ee27cc3241b5e20f3cd85fd521c Mon Sep 17 00:00:00 2001 From: John Mulligan Date: Sat, 9 Mar 2024 11:50:11 -0500 Subject: [PATCH] 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 --- src/cephadm/tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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] -- 2.47.3