From 0724f05091e8885ed05f670249a48faa248b8fcf Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Wed, 12 May 2021 18:37:37 +0200
Subject: [PATCH] [mod] #162: Add make isort rule

Align mypy
---
 Makefile | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index ce9b7165..347988d0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: docs tests check check-format mypy pylint format build deploy deploy_test
+.PHONY: docs tests check check-format mypy isort pylint format build deploy deploy_test
 .SILENT: deploy deploy_test # do not echo commands with password
 
 # generate documentation
@@ -14,9 +14,12 @@ check: mypy pylint check-format
 
 # check static typing
 mypy:
-	 poetry run mypy duniterpy --ignore-missing-imports
-	 poetry run mypy tests --ignore-missing-imports
-	 poetry run mypy examples --ignore-missing-imports
+	poetry run mypy duniterpy --ignore-missing-imports
+	poetry run mypy tests --ignore-missing-imports
+	poetry run mypy examples --ignore-missing-imports
+
+isort:
+	poetry run isort duniterpy tests examples
 
 # check code errors
 pylint:
-- 
GitLab