File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ pytest = "*"
31
31
types-dataclasses = " ^0.6.5"
32
32
isort = " ^5.10.1"
33
33
flake8 = " ^4.0.1"
34
- black = " ^22.3 .0"
34
+ black = " ^24.0 .0"
35
35
astor = " ^0.8.1"
36
36
37
37
[tool .poetry .group .docs ]
Original file line number Diff line number Diff line change @@ -190,12 +190,10 @@ def __len__(self) -> int:
190
190
return len (self .args )
191
191
192
192
@overload
193
- def __getitem__ (self , __index : int ) -> "TypeHint" :
194
- ...
193
+ def __getitem__ (self , __index : int ) -> "TypeHint" : ...
195
194
196
195
@overload
197
- def __getitem__ (self , __slice : slice ) -> List ["TypeHint" ]:
198
- ...
196
+ def __getitem__ (self , __slice : slice ) -> List ["TypeHint" ]: ...
199
197
200
198
def __getitem__ (self , index : "int | slice" ) -> "TypeHint | List[TypeHint]" :
201
199
if isinstance (index , int ):
Original file line number Diff line number Diff line change @@ -383,5 +383,4 @@ def is_typed_dict(hint: Any) -> TypeGuard[TypedDictProtocol]:
383
383
384
384
385
385
class HasGetitem (Protocol , Generic [T_contra , U_co ]):
386
- def __getitem__ (self , __key : T_contra ) -> U_co :
387
- ...
386
+ def __getitem__ (self , __key : T_contra ) -> U_co : ...
You can’t perform that action at this time.
0 commit comments