Upgrade pylint to 2.1.0 (#15811)

* Upgrade pylint to 2.1.0

* Remove no longer needed pylint disables
This commit is contained in:
Ville Skyttä 2018-08-04 16:22:22 +03:00 committed by Paulus Schoutsen
parent 0c7d46927e
commit 3246b49a45
11 changed files with 3 additions and 17 deletions

View file

@ -122,7 +122,6 @@ class BayesianBinarySensor(BinarySensorDevice):
def async_added_to_hass(self):
"""Call when entity about to be added."""
@callback
# pylint: disable=invalid-name
def async_threshold_sensor_state_listener(entity, old_state,
new_state):
"""Handle sensor state changes."""