mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
fix mypy
This commit is contained in:
committed by
Dave Berenbaum
parent
a96a446742
commit
8bc6ba7cd5
+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) -> str | None:
|
||||
def get_repo_url(repo: "Repo", git_remote: Optional[str] = None) -> Optional[str]:
|
||||
from dulwich.porcelain import get_remote_repo
|
||||
|
||||
from dvc.env import DVC_EXP_GIT_REMOTE
|
||||
|
||||
Reference in New Issue
Block a user