From 9768714b4a83a541390dab0f32f6388043adbd23 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Fri, 28 Jul 2023 18:56:16 +0300 Subject: [PATCH] Make isort compatible with Black The isort tool is not compatible with Black by default. This leads to a tug of war between these tools, when we run `make lint-apply` -> `make lint`. Fix this by forcing isort to be compatible with Black. --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 3deb387..fec9a42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,9 @@ pytest-qt = "^4.2.0" pytest-cov = "^3.0.0" strip-ansi = "*" +[tool.isort] +profile = "black" + [build-system] requires = ["poetry>=1.1.4"] build-backend = "poetry.masonry.api"