mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Lint cleanup (#15103)
* Remove unneeded inline pylint disables * Remove unneeded noqa's * Use symbol names instead of message ids in inline pylint disables
This commit is contained in:
committed by
Paulus Schoutsen
parent
6c0fc65eaf
commit
b92350fb55
@@ -133,7 +133,6 @@ def async_track_same_state(hass, period, action, async_check_same_func,
|
||||
"""Clear all unsub listener."""
|
||||
nonlocal async_remove_state_for_cancel, async_remove_state_for_listener
|
||||
|
||||
# pylint: disable=not-callable
|
||||
if async_remove_state_for_listener is not None:
|
||||
async_remove_state_for_listener()
|
||||
async_remove_state_for_listener = None
|
||||
|
||||
Reference in New Issue
Block a user