From 827e58f30551c49de3fd61796f05d7546dccee7c Mon Sep 17 00:00:00 2001 From: dberenbaum Date: Mon, 11 Mar 2024 10:11:48 -0400 Subject: [PATCH] Revert "fix mypy" This reverts commit 029b68ef77b7f82d5e72c8bb48f3eb980fe8204e. --- dvc/utils/studio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/utils/studio.py b/dvc/utils/studio.py index 8900d77d3..3d179589e 100644 --- a/dvc/utils/studio.py +++ b/dvc/utils/studio.py @@ -128,7 +128,7 @@ def get_subrepo_relpath(repo: "Repo") -> str: return "" if relpath == "." else relpath -def get_repo_url(repo: "Repo", git_remote: Optional[str] = None) -> Optional[str]: +def get_repo_url(repo: "Repo", git_remote: Optional[str] = None) -> str | None: from dulwich.porcelain import get_remote_repo from dvc.env import DVC_EXP_GIT_REMOTE