Lint config cleanups (#28864)
* Remove bunch of unneeded lint exclusions * Use symbolic names instead of identifiers in pylint disables * Tighten scope of some pylint disables
This commit is contained in:
1 parent
afaa464142
commit
99c7608fb4
77 files changed
+92
-126
No files matched your search
@@ -207,7 +207,7 @@ class ScriptEntity(ToggleEntity):
|
||||
)
|
||||
try:
|
||||
await self.script.async_run(kwargs.get(ATTR_VARIABLES), context)
|
||||
except Exception as err: # pylint: disable=broad-except
|
||||
except Exception as err:
|
||||
self.script.async_log_exception(
|
||||
_LOGGER, f"Error executing script {self.entity_id}", err
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user