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:
dni ⚡
2024-04-15 09:02:21 +02:00
committed by GitHub
co-authored by Pavol Rusnak
parent 055426ab53
commit 6d5ad9e229
28 changed files with 191 additions and 173 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ from .base import (
PaymentResponse,
PaymentStatus,
StatusResponse,
Unsupported,
UnsupportedError,
Wallet,
)
from .macaroon import load_macaroon
@@ -104,7 +104,7 @@ class CoreLightningRestWallet(Wallet):
"label": label,
}
if description_hash and not unhashed_description:
raise Unsupported(
raise UnsupportedError(
"'description_hash' unsupported by CoreLightningRest, "
"provide 'unhashed_description'"
)