Skip to content

Commit b552c40

Browse files
committed
Fix everything else?
1 parent e8f95f8 commit b552c40

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

buildconfig/stubs/mypy_allow_list.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ pygame\.pypm
2727
pygame\._sdl2\.mixer
2828
pygame\.sysfont.*
2929
pygame\.docs.*
30+
31+
# Remove me when we're checking stubs for SDL3!
32+
#pygame._audio

buildconfig/stubs/pygame/_audio.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ from typing import TypeVar
44
from pygame.typing import FileLike
55
from 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+
710
def 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
5559
U8: AudioFormat
5660
S8: AudioFormat
5761
S16LE: AudioFormat

0 commit comments

Comments
 (0)