فهرست منبع

Add type annotation to controldir method in dulwich/repo.py

Jelmer Vernooij 5 ماه پیش
والد
کامیت
af54237bb7
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      dulwich/repo.py

+ 1 - 1
dulwich/repo.py

@@ -1364,7 +1364,7 @@ class Repo(BaseRepo):
             "No git repository was found at {path}".format(**dict(path=start))
         )
 
-    def controldir(self):
+    def controldir(self) -> str:
         """Return the path of the control directory."""
         return self._controldir