mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Make stubtest work on pyscreeze if you're using py312 (#11582)
This commit is contained in:
@@ -5,3 +5,7 @@ requires = ["types-Pillow"]
|
||||
[tool.stubtest]
|
||||
# Linux has extra constants, win32 has different definitions
|
||||
platforms = ["linux", "win32"]
|
||||
# PyScreeze has an odd setup.py file
|
||||
# that doesn't list Pillow as a dependency for py312+ yet:
|
||||
# https://github.com/asweigart/pyscreeze/blob/eeca245a135cf171c163b3691300138518efa64e/setup.py#L38-L46
|
||||
stubtest_requirements = ["Pillow"]
|
||||
|
||||
Reference in New Issue
Block a user