Skip to content

Commit 7065400

Browse files
committed
chore(GitRepo): Add type annotation to constructor
1 parent 35c43e8 commit 7065400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libvcs/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class GitRepo(BaseRepo):
138138
bin_name = "git"
139139
schemes = ("git", "git+http", "git+https", "git+ssh", "git+git", "git+file")
140140

141-
def __init__(self, url, repo_dir, remotes: RemotesArgs = None, **kwargs):
141+
def __init__(self, url: str, repo_dir: str, remotes: RemotesArgs = None, **kwargs):
142142
"""A git repository.
143143
144144
Parameters

0 commit comments

Comments
 (0)