Lint suppression cleanups (#47248)
* Unused pylint suppression cleanups * Remove outdated pylint bug references * Add flake8-noqa config and note to run it every now and then * Add codes to noqa's * Unused noqa cleanups
This commit is contained in:
parent
38a2f196b8
commit
dc880118a4
217 changed files with 237 additions and 306 deletions
|
@ -189,7 +189,7 @@ class PlexServer:
|
|||
_connect_with_url()
|
||||
except requests.exceptions.SSLError as error:
|
||||
while error and not isinstance(error, ssl.SSLCertVerificationError):
|
||||
error = error.__context__ # pylint: disable=no-member
|
||||
error = error.__context__
|
||||
if isinstance(error, ssl.SSLCertVerificationError):
|
||||
domain = urlparse(self._url).netloc.split(":")[0]
|
||||
if domain.endswith("plex.direct") and error.args[0].startswith(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue