Add pylint CodeStyle extension (#53147)
This commit is contained in:
parent
c35b5a1c64
commit
f6b162bc39
60 changed files with 103 additions and 98 deletions
|
@ -599,7 +599,7 @@ class _ScriptRun:
|
|||
"""Fire an event."""
|
||||
self._step_log(self._action.get(CONF_ALIAS, self._action[CONF_EVENT]))
|
||||
event_data = {}
|
||||
for conf in [CONF_EVENT_DATA, CONF_EVENT_DATA_TEMPLATE]:
|
||||
for conf in (CONF_EVENT_DATA, CONF_EVENT_DATA_TEMPLATE):
|
||||
if conf not in self._action:
|
||||
continue
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue