From 861c01f9a358874c628823a4e0f2e41b1d2d366e Mon Sep 17 00:00:00 2001 From: joydeep049 Date: Thu, 2 Jan 2025 01:10:08 +0530 Subject: [PATCH] fix: black error --- src/gitingest/parse_query.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gitingest/parse_query.py b/src/gitingest/parse_query.py index 3b22b70..5f87170 100644 --- a/src/gitingest/parse_query.py +++ b/src/gitingest/parse_query.py @@ -116,7 +116,11 @@ def _parse_url(url: str) -> dict[str, Any]: _id = str(uuid.uuid4()) slug = f"{user_name}-{repo_name}" - final_url = f"https://{domain}/{user_name}/{repo_name}" if url.startswith("https://") else f"http://{domain}/{user_name}/{repo_name}" + final_url = ( + f"https://{domain}/{user_name}/{repo_name}" + if url.startswith("https://") + else f"http://{domain}/{user_name}/{repo_name}" + ) parsed = { "user_name": user_name, "repo_name": repo_name,