Narrow scope of various pylint inline disables (#15364)
* Narrow scope of various pylint inline disables * Whitespace tweaks
This commit is contained in:
parent
78c38749ab
commit
707b7c202d
30 changed files with 52 additions and 75 deletions
|
@ -144,8 +144,7 @@ class GraphiteFeeder(threading.Thread):
|
|||
try:
|
||||
self._report_attributes(
|
||||
event.data['entity_id'], event.data['new_state'])
|
||||
# pylint: disable=broad-except
|
||||
except Exception:
|
||||
except Exception: # pylint: disable=broad-except
|
||||
# Catch this so we can avoid the thread dying and
|
||||
# make it visible.
|
||||
_LOGGER.exception("Failed to process STATE_CHANGED event")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue