mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 18:58:59 +03:00
Make pylint ignore bare-except in this particular case, just like we do with flake8 (#16714)
This commit is contained in:
parent
fc0eda6178
commit
c2fbd6ecf1
@ -372,7 +372,7 @@ class WebSocketServer:
|
||||
show_traceback=False,
|
||||
):
|
||||
await connection.ping()
|
||||
except: # noqa E722
|
||||
except: # noqa E722 pylint: disable=bare-except
|
||||
self.remove_connection(connection)
|
||||
await connection.close()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user