Remove unnnecessary pylint configs from components [s-z]* (#98925)

This commit is contained in:
Ville Skyttä 2023-08-24 02:25:32 +03:00 committed by GitHub
parent c39f6b3bea
commit b51c0f6ddc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 55 additions and 93 deletions

View file

@ -141,7 +141,7 @@ async def async_setup_platform(
@callback
def stop_update_interval(event):
"""Properly cancel the scheduled update."""
remove_interval_update() # pylint: disable=not-callable
remove_interval_update()
hass.bus.async_listen(EVENT_HOMEASSISTANT_STOP, stop_update_interval)
async_at_start(hass, start_update_interval)
@ -171,7 +171,7 @@ def async_track_time_interval_backoff(
def remove_listener() -> None:
"""Remove interval listener."""
if remove:
remove() # pylint: disable=not-callable
remove()
return remove_listener