Conversation
This comment has been minimized.
This comment has been minimized.
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
JelleZijlstra
left a comment
There was a problem hiding this comment.
I looked into whether we could fudge this with environment variables, but it really does need an actual display it can talk to at import time.
(Also, remind me not to try to install pyautogui on a Mac, it installs like 100 dependencies.)
|
We could use |
Interesting. Would this slow down running stubtest at all? Would there be a way of specifying in |
|
It would slow starting stubtest, but only by about 300ms: Once stubtest is running, it has a |
|
Sounds great to me, in that case! |
|
Could we maybe unskip stubtesting typeshed/stubs/pynput/METADATA.toml Line 4 in 8e4b89a |
|
@Akuli, could you work up a PR for this? (GitHub Actions are... not my strong suit.) |
|
Sure. I'll probably get it done during this weekend :) |
I realised immediately after merging the pyautogui PR that there's not much point running stubtest on this package, since stubtest isn't able to import any of PyAutoGUI without access to a display screen