File tree 2 files changed +6
-4
lines changed 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 84
84
NumpySorter = Optional [npt ._ArrayLikeInt_co ] # type: ignore[name-defined]
85
85
86
86
if sys .version_info >= (3 , 10 ):
87
- from typing import TypeGuard # pyright: ignore[reportUnusedImport]
87
+ from typing import TypeGuard as TypeGuard
88
88
else :
89
- from typing_extensions import TypeGuard # pyright: ignore[reportUnusedImport]
89
+ from typing_extensions import TypeGuard as TypeGuard
90
90
91
91
if sys .version_info >= (3 , 11 ):
92
- from typing import Self
92
+ from typing import Self as Self
93
93
else :
94
- from typing_extensions import Self # pyright: ignore[reportUnusedImport]
94
+ from typing_extensions import Self as Self
95
95
else :
96
96
npt : Any = None
97
97
Self : Any = None
Original file line number Diff line number Diff line change @@ -278,6 +278,8 @@ ignore = [
278
278
# "B301", # not yet implemented
279
279
# Only works with python >=3.10
280
280
" B905" ,
281
+ # allow explicit re-exporting imports in py files
282
+ " PLC0414" ,
281
283
# Too many arguments to function call
282
284
" PLR0913" ,
283
285
# Too many returns
You can’t perform that action at this time.
0 commit comments