@@ -84,13 +84,11 @@ def unquote(s: AnyStr) -> str:
84
84
85
85
86
86
@overload
87
- def get_quoter (encode : bool = True ) -> "Callable[[AnyStr], str]" :
88
- ...
87
+ def get_quoter (encode : bool = True ) -> "Callable[[AnyStr], str]" : ...
89
88
90
89
91
90
@overload
92
- def get_quoter (encode : None ) -> "Callable[[str], str]" :
93
- ...
91
+ def get_quoter (encode : None ) -> "Callable[[str], str]" : ...
94
92
95
93
96
94
def get_quoter (
@@ -176,22 +174,19 @@ def normalize_version(
176
174
@overload
177
175
def normalize_qualifiers (
178
176
qualifiers : Union [AnyStr , Dict [str , str ], None ], encode : "Literal[True]" = ...
179
- ) -> Optional [str ]:
180
- ...
177
+ ) -> Optional [str ]: ...
181
178
182
179
183
180
@overload
184
181
def normalize_qualifiers (
185
182
qualifiers : Union [AnyStr , Dict [str , str ], None ], encode : "Optional[Literal[False]]"
186
- ) -> Optional [Dict [str , str ]]:
187
- ...
183
+ ) -> Optional [Dict [str , str ]]: ...
188
184
189
185
190
186
@overload
191
187
def normalize_qualifiers (
192
188
qualifiers : Union [AnyStr , Dict [str , str ], None ], encode : Optional [bool ] = ...
193
- ) -> Union [str , Dict [str , str ], None ]:
194
- ...
189
+ ) -> Union [str , Dict [str , str ], None ]: ...
195
190
196
191
197
192
def normalize_qualifiers (
@@ -286,8 +281,7 @@ def normalize(
286
281
qualifiers : Union [AnyStr , Dict [str , str ], None ],
287
282
subpath : Optional [AnyStr ],
288
283
encode : "Literal[True]" = ...,
289
- ) -> Tuple [str , Optional [str ], str , Optional [str ], Optional [str ], Optional [str ]]:
290
- ...
284
+ ) -> Tuple [str , Optional [str ], str , Optional [str ], Optional [str ], Optional [str ]]: ...
291
285
292
286
293
287
@overload
@@ -299,8 +293,7 @@ def normalize(
299
293
qualifiers : Union [AnyStr , Dict [str , str ], None ],
300
294
subpath : Optional [AnyStr ],
301
295
encode : "Optional[Literal[False]]" ,
302
- ) -> Tuple [str , Optional [str ], str , Optional [str ], Optional [Dict [str , str ]], Optional [str ]]:
303
- ...
296
+ ) -> Tuple [str , Optional [str ], str , Optional [str ], Optional [Dict [str , str ]], Optional [str ]]: ...
304
297
305
298
306
299
@overload
@@ -312,8 +305,9 @@ def normalize(
312
305
qualifiers : Union [AnyStr , Dict [str , str ], None ],
313
306
subpath : Optional [AnyStr ],
314
307
encode : Optional [bool ] = ...,
315
- ) -> Tuple [str , Optional [str ], str , Optional [str ], Union [str , Dict [str , str ], None ], Optional [str ]]:
316
- ...
308
+ ) -> Tuple [
309
+ str , Optional [str ], str , Optional [str ], Union [str , Dict [str , str ], None ], Optional [str ]
310
+ ]: ...
317
311
318
312
319
313
def normalize (
0 commit comments