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:
@@ -16,7 +16,7 @@ log = logging.getLogger("services")
|
||||
class DirtyServiceRepo(Exception):
|
||||
"""A clone has uncommitted or unpushed local changes. unshackle refuses to refresh it, to protect them."""
|
||||
|
||||
def __init__(self, path: Path):
|
||||
def __init__(self, path: Path) -> None:
|
||||
self.path = path
|
||||
super().__init__(str(path))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user