chore: reduce max complexity lint (#3230)

This commit is contained in:
dni ⚡
2025-07-15 11:14:03 +02:00
parent 5765ea0276
commit ba0f7a01ef
10 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ async def get_latest_payments_by_extension(
)
async def get_payments_paginated(
async def get_payments_paginated( # noqa: C901
*,
wallet_id: Optional[str] = None,
user_id: Optional[str] = None,
+1 -1
View File
@@ -93,7 +93,7 @@ async def api_create_account(data: CreateWallet) -> Wallet:
@api_router.get("/api/v1/lnurlscan/{code}")
async def api_lnurlscan(
async def api_lnurlscan( # noqa: C901
code: str, wallet: WalletTypeInfo = Depends(require_invoice_key)
):
try: