1
0
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:
Ville Skyttä
2018-06-25 20:05:07 +03:00
committed by Paulus Schoutsen
parent 6c0fc65eaf
commit b92350fb55
137 changed files with 58 additions and 209 deletions

View File

@@ -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