From 9d46454ce9c1a4ae70009a46cf1059bfccea5e69 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Thu, 24 Jun 2021 21:43:27 +0200
Subject: [PATCH] [ci] #177: Sort check jobs alphabetically

---
 .gitlab-ci.yml | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 07743507..f1d31334 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,29 +27,23 @@ image: $DOCKER_IMAGE/$PYTHON_VERSION:latest
       - Makefile
       - pyproject.toml
 
-format:
-  extends: .code_changes
-  stage: checks
-  script:
-    - black --check duniterpy tests examples
-
 build:
   extends: .changes
   stage: checks
   script:
     - poetry build
 
-isort:
+format:
   extends: .code_changes
   stage: checks
   script:
-    - isort --check duniterpy tests examples
+    - black --check duniterpy tests examples
 
-type:
+isort:
   extends: .code_changes
   stage: checks
   script:
-    - mypy --install-types --non-interactive duniterpy tests examples
+    - isort --check duniterpy tests examples
 
 lint:
   extends: .code_changes
@@ -58,6 +52,12 @@ lint:
   script:
     - pylint duniterpy tests examples
 
+type:
+  extends: .code_changes
+  stage: checks
+  script:
+    - mypy --install-types --non-interactive duniterpy tests examples
+
 .tests:
   extends: .changes
   stage: tests
-- 
GitLab