]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: reorder tox env to run fastest tasks first 56305/head
authorJohn Mulligan <jmulligan@redhat.com>
Sat, 9 Mar 2024 16:50:11 +0000 (11:50 -0500)
committerAdam King <adking@redhat.com>
Tue, 19 Mar 2024 17:47:58 +0000 (13:47 -0400)
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 <jmulligan@redhat.com>
(cherry picked from commit 2552ac9a7d479ee27cc3241b5e20f3cd85fd521c)

src/cephadm/tox.ini

index 8c3728ff4c9b0417de25aa90fc04d1f3a40e054b..a6b2601c76e2212731ca85560fd49c0e309851ae 100644 (file)
@@ -1,9 +1,9 @@
 [tox]
 envlist =
-    py3
-    mypy
     flake8
+    mypy
     check-black
+    py3
 skipsdist = true
 
 [flake8]