File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -27,3 +27,6 @@ pygame\.pypm
2727pygame\._sdl2\.mixer
2828pygame\.sysfont.*
2929pygame\.docs.*
30+
31+ # Remove me when we're checking stubs for SDL3!
32+ #pygame._audio
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ from typing import TypeVar
44from pygame .typing import FileLike
55from typing_extensions import Buffer
66
7+ # TODO: Support SDL3 stubchecking without failing when on SDL2 builds
8+ # Right now this module is unconditionally skipped in mypy_allow_list.txt
9+
710def init () -> None : ...
811
912# def quit() -> None: ...
@@ -52,6 +55,7 @@ class AudioFormat:
5255 def __index__ (self ) -> int : ...
5356 def __repr__ (self ) -> str : ...
5457
58+ UNKNOWN : AudioFormat
5559U8 : AudioFormat
5660S8 : AudioFormat
5761S16LE : AudioFormat
You can’t perform that action at this time.
0 commit comments