@@ -563,13 +563,11 @@ def is_cygwin(cls) -> bool:
563
563
564
564
@overload
565
565
@classmethod
566
- def polish_url (cls , url : str , is_cygwin : Literal [False ] = ...) -> str :
567
- ...
566
+ def polish_url (cls , url : str , is_cygwin : Literal [False ] = ...) -> str : ...
568
567
569
568
@overload
570
569
@classmethod
571
- def polish_url (cls , url : str , is_cygwin : Union [None , bool ] = None ) -> str :
572
- ...
570
+ def polish_url (cls , url : str , is_cygwin : Union [None , bool ] = None ) -> str : ...
573
571
574
572
@classmethod
575
573
def polish_url (cls , url : str , is_cygwin : Union [None , bool ] = None ) -> PathLike :
@@ -930,8 +928,7 @@ def execute(
930
928
command : Union [str , Sequence [Any ]],
931
929
* ,
932
930
as_process : Literal [True ],
933
- ) -> "AutoInterrupt" :
934
- ...
931
+ ) -> "AutoInterrupt" : ...
935
932
936
933
@overload
937
934
def execute (
@@ -940,8 +937,7 @@ def execute(
940
937
* ,
941
938
as_process : Literal [False ] = False ,
942
939
stdout_as_string : Literal [True ],
943
- ) -> Union [str , Tuple [int , str , str ]]:
944
- ...
940
+ ) -> Union [str , Tuple [int , str , str ]]: ...
945
941
946
942
@overload
947
943
def execute (
@@ -950,8 +946,7 @@ def execute(
950
946
* ,
951
947
as_process : Literal [False ] = False ,
952
948
stdout_as_string : Literal [False ] = False ,
953
- ) -> Union [bytes , Tuple [int , bytes , str ]]:
954
- ...
949
+ ) -> Union [bytes , Tuple [int , bytes , str ]]: ...
955
950
956
951
@overload
957
952
def execute (
@@ -961,8 +956,7 @@ def execute(
961
956
with_extended_output : Literal [False ],
962
957
as_process : Literal [False ],
963
958
stdout_as_string : Literal [True ],
964
- ) -> str :
965
- ...
959
+ ) -> str : ...
966
960
967
961
@overload
968
962
def execute (
@@ -972,8 +966,7 @@ def execute(
972
966
with_extended_output : Literal [False ],
973
967
as_process : Literal [False ],
974
968
stdout_as_string : Literal [False ],
975
- ) -> bytes :
976
- ...
969
+ ) -> bytes : ...
977
970
978
971
def execute (
979
972
self ,
@@ -1385,8 +1378,9 @@ def __call__(self, **kwargs: Any) -> "Git":
1385
1378
return self
1386
1379
1387
1380
@overload
1388
- def _call_process (self , method : str , * args : None , ** kwargs : None ) -> str :
1389
- ... # If no args were given, execute the call with all defaults.
1381
+ def _call_process (
1382
+ self , method : str , * args : None , ** kwargs : None
1383
+ ) -> str : ... # If no args were given, execute the call with all defaults.
1390
1384
1391
1385
@overload
1392
1386
def _call_process (
@@ -1396,14 +1390,12 @@ def _call_process(
1396
1390
as_process : Literal [True ],
1397
1391
* args : Any ,
1398
1392
** kwargs : Any ,
1399
- ) -> "Git.AutoInterrupt" :
1400
- ...
1393
+ ) -> "Git.AutoInterrupt" : ...
1401
1394
1402
1395
@overload
1403
1396
def _call_process (
1404
1397
self , method : str , * args : Any , ** kwargs : Any
1405
- ) -> Union [str , bytes , Tuple [int , Union [str , bytes ], str ], "Git.AutoInterrupt" ]:
1406
- ...
1398
+ ) -> Union [str , bytes , Tuple [int , Union [str , bytes ], str ], "Git.AutoInterrupt" ]: ...
1407
1399
1408
1400
def _call_process (
1409
1401
self , method : str , * args : Any , ** kwargs : Any
0 commit comments