Skip to content

Commit

Permalink
Remove unneeded pylint ignore directives
Browse files Browse the repository at this point in the history
  • Loading branch information
emontnemery committed Feb 7, 2024
1 parent 955b8da commit 993514b
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 9 deletions.
1 change: 0 additions & 1 deletion examples/bubbleupnp_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
1 change: 0 additions & 1 deletion examples/default_media_receiver_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
2 changes: 1 addition & 1 deletion examples/get_chromecasts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
)
1 change: 0 additions & 1 deletion examples/homeassistant_media_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
1 change: 0 additions & 1 deletion examples/shaka_drm_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
2 changes: 1 addition & 1 deletion examples/supla_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion examples/yleareena_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
1 change: 0 additions & 1 deletion pychromecast/controllers/bbciplayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
*,
Expand Down
1 change: 0 additions & 1 deletion pychromecast/controllers/yleareena.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
*,
Expand Down

0 comments on commit 993514b

Please sign in to comment.