Skip to content

Commit 883f05e

Browse files
committed
use pyright ignore comment (would prefer 'as TypeGuard')
1 parent f104c0f commit 883f05e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_typing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
NumpySorter = Optional[npt._ArrayLikeInt_co] # type: ignore[name-defined]
8585

8686
if sys.version_info >= (3, 10):
87-
from typing import TypeGuard
87+
from typing import TypeGuard # pyright: ignore[reportUnusedImport]
8888
else:
8989
from typing_extensions import TypeGuard # pyright: ignore[reportUnusedImport]
9090

0 commit comments

Comments
 (0)