Skip to content

Commit 0de14aa

Browse files
committed
🐴 ignore false positive overload-overlap errors
1 parent 98fad6b commit 0de14aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/numpy-stubs/__init__.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,11 +1207,11 @@ class dtype(Generic[_ScalarT_co], metaclass=_DTypeMeta):
12071207
cls, dtype: _nt.ToDTypeUInt32, align: py_bool = False, copy: py_bool = False, metadata: _MetaData = ...
12081208
) -> dtypes.UInt32DType: ...
12091209
@overload
1210-
def __new__(
1210+
def __new__( # type: ignore[overload-overlap]
12111211
cls, dtype: _nt.ToDTypeLong, align: py_bool = False, copy: py_bool = False, metadata: _MetaData = ...
12121212
) -> dtypes.LongDType: ...
12131213
@overload
1214-
def __new__(
1214+
def __new__( # type: ignore[overload-overlap]
12151215
cls, dtype: _nt.ToDTypeULong, align: py_bool = False, copy: py_bool = False, metadata: _MetaData = ...
12161216
) -> dtypes.ULongDType: ...
12171217
@overload

0 commit comments

Comments
 (0)