Pylint 2 fixes (#15487)
* pylint 2 inline disable syntax fixes * pylint 2 logging-not-lazy fixes * pylint 2 consider-using-in fixes * Revert pylint 2 inline disable syntax fixes addressing unused-imports Will have a go at removing more unused imports altogether first.
This commit is contained in:
parent
d2f4bce6c0
commit
e31dd4404e
33 changed files with 55 additions and 73 deletions
|
@ -151,7 +151,7 @@ def _ws_process_message(message, async_callback, *args):
|
|||
"Unsuccessful websocket message delivered, ignoring: %s", message)
|
||||
try:
|
||||
yield from async_callback(message['data']['sia'], *args)
|
||||
except: # noqa: E722 # pylint: disable=bare-except
|
||||
except: # noqa: E722 pylint: disable=bare-except
|
||||
_LOGGER.exception("Exception in callback, ignoring")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue