chore: reduce max complexity lint (#3230)
This commit is contained in:
parent
5765ea0276
commit
ba0f7a01ef
10 changed files with 10 additions and 11 deletions
|
|
@ -74,7 +74,7 @@ def sign_event(pub_key, priv_key, event):
|
|||
return event
|
||||
|
||||
|
||||
async def handle(wallet, mock_settings, data, websocket, path):
|
||||
async def handle(wallet, mock_settings, data, websocket, path): # noqa: C901
|
||||
async for message in websocket:
|
||||
if not wallet:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue