diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 417c2ff420c02309e3ff0960d056b7a530fb993a..04fb895f39e3c8f416ef29f228ee08a93822835c 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,6 +3,11 @@ repos:
     rev: 21.5b0
     hooks:
     - id: black
+-   repo: https://github.com/PyCQA/isort
+    rev: 5.8.0
+    hooks:
+    - id: isort
+      args: ["--profile", "black"]
 -   repo: https://github.com/pre-commit/mirrors-mypy
     rev: v0.812
     hooks:
diff --git a/pyproject.toml b/pyproject.toml
index 3c4e5491271d8b39a60d469980e8c7b5c6bf3181..d5fceba71e09e8ba673bbe4afb0ab7f06b213d77 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -37,7 +37,12 @@ websocket-client = "^0.57"
 [tool.poetry.dev-dependencies]
 black = {version = "^21.4b2", allow-prereleases = true}
 mypy = "^0.790"
+isort = "^5.8.0"
 pylint = "^2.7.2"
 pre-commit = "^2.12.1"
 sphinx = "^3.2.1"
 sphinx_rtd_theme = "^0.5.0"
+
+[tool.isort]
+profile = "black"
+src_paths = ["duniterpy", "tests", "examples"]