diff --git a/examples/bubbleupnp_example.py b/examples/bubbleupnp_example.py index 5ae58672f..068b46897 100644 --- a/examples/bubbleupnp_example.py +++ b/examples/bubbleupnp_example.py @@ -53,7 +53,6 @@ print("Zeroconf version: " + zeroconf.__version__) logging.getLogger("zeroconf").setLevel(logging.DEBUG) -# pylint: disable=unbalanced-tuple-unpacking chromecasts, browser = pychromecast.get_listed_chromecasts( friendly_names=[args.cast], known_hosts=args.known_host ) diff --git a/examples/default_media_receiver_example.py b/examples/default_media_receiver_example.py index 7747214c1..b8d139aaa 100644 --- a/examples/default_media_receiver_example.py +++ b/examples/default_media_receiver_example.py @@ -49,7 +49,6 @@ print("Zeroconf version: " + zeroconf.__version__) logging.getLogger("zeroconf").setLevel(logging.DEBUG) -# pylint: disable=unbalanced-tuple-unpacking chromecasts, browser = pychromecast.get_listed_chromecasts( friendly_names=[args.cast], known_hosts=args.known_host ) diff --git a/examples/get_chromecasts.py b/examples/get_chromecasts.py index c2cbfb592..387a0a7ad 100644 --- a/examples/get_chromecasts.py +++ b/examples/get_chromecasts.py @@ -41,5 +41,5 @@ print("Found cast devices:") for cast in casts: print( - f' "{cast.name}" on mDNS/host service {cast.cast_info.services} with UUID:{cast.uuid}' # pylint: disable=protected-access + f' "{cast.name}" on mDNS/host service {cast.cast_info.services} with UUID:{cast.uuid}' ) diff --git a/examples/homeassistant_media_example.py b/examples/homeassistant_media_example.py index 7f339a067..a3ac42cab 100644 --- a/examples/homeassistant_media_example.py +++ b/examples/homeassistant_media_example.py @@ -49,7 +49,6 @@ print("Zeroconf version: " + zeroconf.__version__) logging.getLogger("zeroconf").setLevel(logging.DEBUG) -# pylint: disable=unbalanced-tuple-unpacking chromecasts, browser = pychromecast.get_listed_chromecasts( friendly_names=[args.cast], known_hosts=args.known_host ) diff --git a/examples/shaka_drm_example.py b/examples/shaka_drm_example.py index 9349a812d..b0c809368 100644 --- a/examples/shaka_drm_example.py +++ b/examples/shaka_drm_example.py @@ -49,7 +49,6 @@ print("Zeroconf version: " + zeroconf.__version__) logging.getLogger("zeroconf").setLevel(logging.DEBUG) -# pylint: disable=unbalanced-tuple-unpacking chromecasts, browser = pychromecast.get_listed_chromecasts( friendly_names=[args.cast], known_hosts=args.known_host ) diff --git a/examples/supla_example.py b/examples/supla_example.py index 1b20b3f32..738cf575a 100644 --- a/examples/supla_example.py +++ b/examples/supla_example.py @@ -9,7 +9,7 @@ import sys import requests -from bs4 import BeautifulSoup # pylint: disable=import-error +from bs4 import BeautifulSoup import pychromecast from pychromecast import quick_play diff --git a/examples/yleareena_example.py b/examples/yleareena_example.py index 77cdca6fe..d913b6970 100644 --- a/examples/yleareena_example.py +++ b/examples/yleareena_example.py @@ -52,7 +52,6 @@ def get_kaltura_id(program_id: str) -> str: This can be used with Chromecast """ # yledl is not available in CI, silence import warnings - # pylint: disable=import-error from yledl.extractors import extractor_factory # type: ignore[import-untyped] from yledl.ffprobe import NullProbe # type: ignore[import-untyped] from yledl.http import HttpClient # type: ignore[import-untyped] diff --git a/pychromecast/controllers/bbciplayer.py b/pychromecast/controllers/bbciplayer.py index 131859767..07ecc6b3a 100644 --- a/pychromecast/controllers/bbciplayer.py +++ b/pychromecast/controllers/bbciplayer.py @@ -23,7 +23,6 @@ def __init__(self) -> None: super().__init__(APP_BBCIPLAYER) self.logger = logging.getLogger(__name__) - # pylint: disable-next=arguments-differ def quick_play( self, *, diff --git a/pychromecast/controllers/yleareena.py b/pychromecast/controllers/yleareena.py index 47c7ad14f..8f7516e4b 100644 --- a/pychromecast/controllers/yleareena.py +++ b/pychromecast/controllers/yleareena.py @@ -57,7 +57,6 @@ def play_areena_media( # pylint: disable=too-many-locals self.send_message(msg, inc_session_id=True, callback_function=callback_function) - # pylint: disable-next=arguments-differ def quick_play( self, *,