]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: reorder tox env to run fastest tasks first 56075/head
authorJohn Mulligan <jmulligan@redhat.com>
Sat, 9 Mar 2024 16:50:11 +0000 (11:50 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Mon, 11 Mar 2024 18:29:02 +0000 (14:29 -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>
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]