Fix all Ruff and isort linter errors

This commit is contained in:
rlaphoenix
2023-09-19 12:23:52 +01:00
parent 959590a6bb
commit 4b8cfabaac
12 changed files with 33 additions and 27 deletions

View File

@@ -122,7 +122,8 @@ class Service(metaclass=ABCMeta):
raise TypeError(f"Expected cookies to be a {MozillaCookieJar}, not {cookies!r}.")
self.session.cookies.update(cookies)
def get_widevine_service_certificate(self, *, challenge: bytes, title: Title_T, track: AnyTrack) -> Union[bytes, str]:
def get_widevine_service_certificate(self, *, challenge: bytes, title: Title_T, track: AnyTrack) \
-> Union[bytes, str]:
"""
Get the Widevine Service Certificate used for Privacy Mode.