feat: adhere to ruff's B rules (#2423)
* feat: adhere to ruff's `B` rules last of the ruff checks. closes #2308 * B904 * B008 * B005 * B025 * cleanup on fake
This commit is contained in:
@@ -13,6 +13,10 @@ from .base import (
|
||||
|
||||
|
||||
class VoidWallet(Wallet):
|
||||
|
||||
async def cleanup(self):
|
||||
pass
|
||||
|
||||
async def create_invoice(self, *_, **__) -> InvoiceResponse:
|
||||
return InvoiceResponse(
|
||||
ok=False, error_message="VoidWallet cannot create invoices."
|
||||
|
||||
Reference in New Issue
Block a user