From c1c9a26bdf350500e308d836245b0a6360a63c5f Mon Sep 17 00:00:00 2001
From: Guilherme Caminha <gpkc@cin.ufpe.br>
Date: Tue, 5 Oct 2021 18:49:01 +0200
Subject: [PATCH] Adding project_name to isort src paths (#34)

This will prevent isort from grouping 1st party and 3rd party imports together
---
 .../template/{{cookiecutter.project_name}}/pyproject.toml        | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fastapi_template/template/{{cookiecutter.project_name}}/pyproject.toml b/fastapi_template/template/{{cookiecutter.project_name}}/pyproject.toml
index c3b760d..6787148 100644
--- a/fastapi_template/template/{{cookiecutter.project_name}}/pyproject.toml
+++ b/fastapi_template/template/{{cookiecutter.project_name}}/pyproject.toml
@@ -84,6 +84,7 @@ asynctest = "^0.13.0"
 [tool.isort]
 profile = "black"
 multi_line_output = 3
+src_paths = ["{{cookiecutter.project_name}}",]
 
 [tool.mypy]
 strict = true
-- 
GitLab