mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 07:18:27 +01:00
Revert "fix mypy"
This reverts commit 029b68ef77b7f82d5e72c8bb48f3eb980fe8204e.
This commit is contained in:
committed by
Dave Berenbaum
parent
8bc6ba7cd5
commit
827e58f305
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user