Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unneeded pylint ignore directives #824

Merged
merged 1 commit into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading