-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
project: infrastructuretypeshed build, test, documentation, or distribution relatedtypeshed build, test, documentation, or distribution related
Description
This is an issue I'm having while adding D3DShot #8652, PyAutoGUI #8654 and pywin32 stubs. Some modules are highly dependent on the OS, and as such, I have to add them to the stubtest_allowlist
, even though I can run it just fine locally.
For this reason, and to help with stub completeness (#8481), I suggest that stubtest should by default be run under Windows, Linux and Darwin (just like mypy and pyright already are) be configurable to run under Windows and/or Linux and/or Darwin.
This also means we should be able to specify the OS in stubtest_allowlist. Whether it's by having a specific file (stubtest_allowlist.linux.txt
), prefixing the line (linux:pyautogui._pyautogui_osx
) or any other proposals.
Metadata
Metadata
Assignees
Labels
project: infrastructuretypeshed build, test, documentation, or distribution relatedtypeshed build, test, documentation, or distribution related