chore: adhere to ruff's RUF rules, 2nd try (#2420)

* chore: adhere to ruff's `RUF` rules, 2nd try
closes #2382
This commit is contained in:
dni ⚡
2024-04-17 07:36:22 +02:00
committed by GitHub
parent d78f6a1f9e
commit daa1b5a313
13 changed files with 36 additions and 28 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ async def api_public_payment_longpolling(payment_hash):
cancel_scope.cancel()
cancel_scope = asyncio.create_task(payment_info_receiver())
asyncio.create_task(timeouter(cancel_scope))
asyncio.create_task(timeouter(cancel_scope)) # noqa: RUF006
if response:
return response