chore: reduce max complexity lint (#3230)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user