8000 TYP: update typing stubs for ``_pyinstaller/hook-numpy.py`` · sthagen/numpy-numpy@3467b99 · GitHub
[go: up one dir, main page]

8000 Skip to content

Commit 3467b99

Browse files
committed
TYP: update typing stubs for _pyinstaller/hook-numpy.py
1 parent 031f442 commit 3467b99

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

numpy/_pyinstaller/hook-numpy.pyi

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
from typing import Final
22

3-
# from `PyInstaller.compat`
4-
is_conda: Final[bool]
5-
is_pure_conda: Final[bool]
3+
binaries: Final[list[tuple[str, str]]] = ...
64

7-
# from `PyInstaller.utils.hooks`
8-
def is_module_satisfies(requirements: str, version: None = None, version_attr: None = None) -> bool: ...
9-
10-
binaries: Final[list[tuple[str, str]]]
11-
12-
hiddenimports: Final[list[str]]
13-
excludedimports: Final[list[str]]
5+
hiddenimports: Final[list[str]] = ...
6+
excludedimports: Final[list[str]] = ...

0 commit comments

Comments
 (0)
0