chore: adhere to ruff's "N" rules (#2377)
* chore: adhere to ruff's "N" rules WARN: reinstall failing extensions! bunch of more consistent variable naming. inspired by this issue. https://github.com/lnbits/lnbits/issues/2308 * fixup! chore: adhere to ruff's "N" rules * rename to funding_source * skip jmeter --------- Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
This commit is contained in:
@@ -138,12 +138,12 @@ async def get_key_type(
|
||||
detail="Invoice (or Admin) key required.",
|
||||
)
|
||||
|
||||
for wallet_type, WalletChecker in zip(
|
||||
for wallet_type, wallet_checker in zip(
|
||||
[WalletType.admin, WalletType.invoice],
|
||||
[WalletAdminKeyChecker, WalletInvoiceKeyChecker],
|
||||
):
|
||||
try:
|
||||
checker = WalletChecker(api_key=token)
|
||||
checker = wallet_checker(api_key=token)
|
||||
await checker.__call__(r)
|
||||
if checker.wallet is None:
|
||||
raise HTTPException(
|
||||
|
||||
Reference in New Issue
Block a user