Typehint the parts of python-mpd2 I'm using too
This commit is contained in:
parent
de884cbf72
commit
1e7fd270eb
2 changed files with 46 additions and 0 deletions
23
stubs/mpd/base.pyi
Normal file
23
stubs/mpd/base.pyi
Normal file
|
@ -0,0 +1,23 @@
|
|||
from enum import Enum
|
||||
|
||||
class FailureResponseCode(Enum):
|
||||
NOT_LIST: int
|
||||
ARG: int
|
||||
PASSWORD: int
|
||||
PERMISSION: int
|
||||
UNKNOWN: int
|
||||
NO_EXIST: int
|
||||
PLAYLIST_MAX: int
|
||||
SYSTEM: int
|
||||
PLAYLIST_LOAD: int
|
||||
UPDATE_ALREADY: int
|
||||
PLAYER_SYNC: int
|
||||
EXIST: int
|
||||
|
||||
class MPDError(Exception): ...
|
||||
|
||||
class CommandError(MPDError):
|
||||
pass
|
||||
|
||||
class MPDClientBase:
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue