diff --git a/pyrightconfig.stricter.json b/pyrightconfig.stricter.json index be9759ac0..eb830a0d7 100644 --- a/pyrightconfig.stricter.json +++ b/pyrightconfig.stricter.json @@ -46,6 +46,7 @@ "stubs/prettytable", "stubs/protobuf", "stubs/google-cloud-ndb", + "stubs/playsound", "stubs/psutil", "stubs/psycopg2", "stubs/Pygments", diff --git a/stubs/playsound/METADATA.toml b/stubs/playsound/METADATA.toml new file mode 100644 index 000000000..3ea18392d --- /dev/null +++ b/stubs/playsound/METADATA.toml @@ -0,0 +1 @@ +version = "1.3.*" diff --git a/stubs/playsound/playsound.pyi b/stubs/playsound/playsound.pyi new file mode 100644 index 000000000..cd6c1aad1 --- /dev/null +++ b/stubs/playsound/playsound.pyi @@ -0,0 +1,5 @@ +import pathlib + +class PlaysoundException(Exception): ... + +def playsound(sound: str | pathlib.Path, block: bool = ...) -> None: ...