forked from kenzuya/unshackle
refactor(types): bring mypy to zero errors across unshackle
Fix the bugs the type errors exposed (RnetSession.send body, HLS proxy session, title cache fallback, mux progress) and gate mypy in pre-commit, warn-only in CI.
This commit is contained in:
@@ -102,7 +102,7 @@ class MUSIC_EXAMPLE(Service):
|
||||
def cli(ctx: click.Context, **kwargs: Any) -> MUSIC_EXAMPLE:
|
||||
return MUSIC_EXAMPLE(ctx, **kwargs)
|
||||
|
||||
def __init__(self, ctx: click.Context, title: str, device: str, lyrics: bool):
|
||||
def __init__(self, ctx: click.Context, title: str, device: str, lyrics: bool) -> None:
|
||||
self.title = title
|
||||
self.device = device
|
||||
self.lyrics = lyrics
|
||||
|
||||
Reference in New Issue
Block a user