Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ stub numpy.matlib #21

Merged
merged 2 commits into from
Feb 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ include = [
]
ignore = [".venv", "test/.venv"]
stubPath = "src"
venvPath = "./test"
pythonPlatform = "All"
pythonVersion = "3.10"
typeCheckingMode = "standard" # TODO(jorenham): set to "all"
Expand Down
4 changes: 2 additions & 2 deletions src/numpy-stubs/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ else:
import array as _array
import mmap as _mmap

from numpy import distutils as distutils # type: ignore[attr-defined] # noqa: ICN003
from numpy import distutils as distutils # noqa: ICN003

_SupportsBuffer: TypeAlias = (
_Buffer | bytes | bytearray | memoryview | _array.array[Any] | _mmap.mmap | NDArray[Any] | generic
Expand Down Expand Up @@ -539,7 +539,7 @@ __all__ = [ # noqa: RUF022
"float64", "longdouble", "complex64", "complex128", "clongdouble",
"bytes_", "str_", "void", "object_", "datetime64", "timedelta64", "int8", "byte",
"uint8", "ubyte", "int16", "short", "uint16", "ushort", "int32", "intc", "uint32",
"uintc", "int64", "long", "uint64", "ulong", "longlong", "ulonglong", "intp",
"uintc", "int64", "long", "uint64", "ulong", "longlong", "ulonglong", "uint", "intp",
"uintp", "double", "cdouble", "single", "csingle", "half", "bool_", "int_", "uint64",
"uint128", "uint256", "int128", "int256", "float80", "float96", "float128",
"float256", "complex160", "complex192", "complex256", "complex512",
Expand Down
Loading
Loading