Skip to content

Commit

Permalink
fix: black error
Browse files Browse the repository at this point in the history
  • Loading branch information
joydeep049 committed Jan 1, 2025
1 parent c0a0bae commit 861c01f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/gitingest/parse_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 861c01f

Please sign in to comment.