Skip to content

Commit 5161b8f

Browse files
committed
fix run
1 parent b16cff1 commit 5161b8f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pandas-stubs/_libs/tslibs/timestamps.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ class Timestamp(datetime, SupportsIndex):
112112
if sys.version_info >= (3, 12):
113113
@classmethod
114114
@override
115-
def fromtimestamp( # pyright: ignore[reportIncompatibleMethodOverride] # pyrefly: ignore[bad-override-param-name] # ty: ignore[invalid-method-override]
115+
# TODO: reduce the double unused-ignore-comment when astral-sh/ty#2681 is resolved
116+
def fromtimestamp( # pyright: ignore[reportIncompatibleMethodOverride] # pyrefly: ignore[bad-override-param-name] # ty: ignore[invalid-method-override,unused-ignore-comment,unused-ignore-comment]
116117
cls, t: float, tz: _tzinfo | str | None = None
117118
) -> Self: ...
118119
else:

0 commit comments

Comments
 (0)