@@ -137,7 +137,7 @@ IntDtypeArg: TypeAlias = (
137
137
)
138
138
UIntDtypeArg : TypeAlias = (
139
139
# Pandas nullable unsigned integer types and their string aliases
140
- pd .UInt8Dtype # noqa: Y030
140
+ pd .UInt8Dtype # noqa: PYI030
141
141
| pd .UInt16Dtype
142
142
| pd .UInt32Dtype
143
143
| pd .UInt64Dtype
@@ -164,15 +164,6 @@ UIntDtypeArg: TypeAlias = (
164
164
# PyArrow unsigned integer types and their string aliases
165
165
| Literal ["uint8[pyarrow]" , "uint16[pyarrow]" , "uint32[pyarrow]" , "uint64[pyarrow]" ]
166
166
)
167
- StrDtypeArg : TypeAlias = (
168
- # Builtin str type and its string alias
169
- type [str ] # noqa: PYI030
170
- | Literal ["str" ]
171
- # Pandas nullable string type and its string alias
172
- | pd .StringDtype
173
- | Literal ["string" ]
174
- )
175
- BytesDtypeArg : TypeAlias = type [bytes ]
176
167
FloatDtypeArg : TypeAlias = (
177
168
# Builtin float type and its string alias
178
169
type [float ] # noqa: PYI030
@@ -335,7 +326,7 @@ TimestampDtypeArg: TypeAlias = Literal[
335
326
336
327
StrDtypeArg : TypeAlias = (
337
328
# Builtin str type and its string alias
338
- type [str ] # noqa: Y030
329
+ type [str ] # noqa: PYI030
339
330
| Literal ["str" ]
340
331
# Pandas nullable string type and its string alias
341
332
| pd .StringDtype
@@ -349,7 +340,7 @@ StrDtypeArg: TypeAlias = (
349
340
)
350
341
BytesDtypeArg : TypeAlias = (
351
342
# Builtin bytes type and its string alias
352
- type [bytes ] # noqa: Y030
343
+ type [bytes ] # noqa: PYI030
353
344
| Literal ["bytes" ]
354
345
# Numpy bytes type and its string alias
355
346
# https://numpy.org/doc/stable/reference/arrays.scalars.html#numpy.bytes_
@@ -362,7 +353,7 @@ CategoryDtypeArg: TypeAlias = CategoricalDtype | Literal["category"]
362
353
363
354
ObjectDtypeArg : TypeAlias = (
364
355
# Builtin object type and its string alias
365
- type [object ] # noqa: Y030
356
+ type [object ] # noqa: PYI030
366
357
| Literal ["object" ]
367
358
# Numpy object type and its string alias
368
359
# https://numpy.org/doc/stable/reference/arrays.scalars.html#numpy.object_
0 commit comments