From ba9534bc2726af1f4494dd76d5fe6d67fd90e548 Mon Sep 17 00:00:00 2001 From: Zander <28664144+ZandercraftGames@users.noreply.github.com> Date: Sun, 18 Aug 2024 00:34:32 -0400 Subject: [PATCH] Typing fix from NiceAesth Co-authored-by: Andrei Baciu <8437201+NiceAesth@users.noreply.github.com> --- pomice/enums.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pomice/enums.py b/pomice/enums.py index e5f09f4..c4e86e8 100644 --- a/pomice/enums.py +++ b/pomice/enums.py @@ -68,7 +68,7 @@ class TrackType(Enum): OTHER = "other" @classmethod - def _missing_(cls, value): + def _missing_(cls, _: object) -> "TrackType": return cls.OTHER def __str__(self) -> str: