mirror of
https://github.com/lnbits/lnbits.git
synced 2025-07-09 15:04:10 +02:00
reintroduce E203, black does not like that one
This commit is contained in:
2
.flake8
2
.flake8
@ -2,6 +2,8 @@
|
|||||||
max-line-length = 150
|
max-line-length = 150
|
||||||
exclude = lnbits/wallets/lnd_grpc_files/, lnbits/extensions/
|
exclude = lnbits/wallets/lnd_grpc_files/, lnbits/extensions/
|
||||||
ignore =
|
ignore =
|
||||||
|
# E203 whitespace before ':' black does not like it
|
||||||
|
E203
|
||||||
# E402: module level import not at top of file
|
# E402: module level import not at top of file
|
||||||
E402,
|
E402,
|
||||||
# W503: line break before binary operator
|
# W503: line break before binary operator
|
||||||
|
@ -23,10 +23,12 @@ class VoidWallet(Wallet):
|
|||||||
raise Unsupported("")
|
raise Unsupported("")
|
||||||
|
|
||||||
async def status(self) -> StatusResponse:
|
async def status(self) -> StatusResponse:
|
||||||
logger.warning((
|
logger.warning(
|
||||||
|
(
|
||||||
"This backend does nothing, it is here just as a placeholder, you must configure an "
|
"This backend does nothing, it is here just as a placeholder, you must configure an "
|
||||||
"actual backend before being able to do anything useful with LNbits."
|
"actual backend before being able to do anything useful with LNbits."
|
||||||
))
|
)
|
||||||
|
)
|
||||||
return StatusResponse(None, 0)
|
return StatusResponse(None, 0)
|
||||||
|
|
||||||
async def pay_invoice(self, bolt11: str, fee_limit_msat: int) -> PaymentResponse:
|
async def pay_invoice(self, bolt11: str, fee_limit_msat: int) -> PaymentResponse:
|
||||||
|
Reference in New Issue
Block a user