mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-03 18:13:36 +08:00
Run third-party stubtest under xvfb-run (#8719)
This commit is contained in:
@@ -1,7 +1,2 @@
|
||||
version = "0.9.*"
|
||||
requires = ["types-Pillow"]
|
||||
|
||||
[tool.stubtest]
|
||||
# pyautogui requires a display, resulting in the following error on the CI:
|
||||
# failed to import, KeyError: 'DISPLAY'
|
||||
skip = true
|
||||
|
||||
9
stubs/pynput/@tests/stubtest_allowlist.txt
Normal file
9
stubs/pynput/@tests/stubtest_allowlist.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
# TODO: go through this allowlist, figure out which of them are false positives
|
||||
pynput.keyboard.Controller._Key
|
||||
pynput.keyboard.Controller._KeyCode
|
||||
pynput.keyboard.Controller.__init__
|
||||
pynput.keyboard._base.Controller._Key
|
||||
pynput.keyboard._base.Controller._KeyCode
|
||||
pynput.keyboard._dummy.Controller._Key
|
||||
pynput.keyboard._dummy.Controller._KeyCode
|
||||
pynput.mouse.Controller.__init__
|
||||
@@ -1,4 +1 @@
|
||||
version = "1.7.*"
|
||||
|
||||
[tool.stubtest]
|
||||
skip = true # A display server (e.g. X11) is required to import pynput
|
||||
|
||||
Reference in New Issue
Block a user