Skip to content

Commit 861c01f

Browse files
committed
fix: black error
1 parent c0a0bae commit 861c01f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/gitingest/parse_query.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,11 @@ def _parse_url(url: str) -> dict[str, Any]:
116116
_id = str(uuid.uuid4())
117117
slug = f"{user_name}-{repo_name}"
118118

119-
final_url = f"https://{domain}/{user_name}/{repo_name}" if url.startswith("https://") else f"http://{domain}/{user_name}/{repo_name}"
119+
final_url = (
120+
f"https://{domain}/{user_name}/{repo_name}"
121+
if url.startswith("https://")
122+
else f"http://{domain}/{user_name}/{repo_name}"
123+
)
120124
parsed = {
121125
"user_name": user_name,
122126
"repo_name": repo_name,

0 commit comments

Comments
 (0)