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:
dni ⚡
2024-04-17 13:11:51 +02:00
committed by GitHub
parent e13a37c193
commit 98ec59df96
28 changed files with 226 additions and 169 deletions
+4 -2
View File
@@ -93,11 +93,13 @@ class PaymentPendingStatus(PaymentStatus):
class Wallet(ABC):
async def cleanup(self):
pass
__node_cls__: Optional[type[Node]] = None
@abstractmethod
async def cleanup(self):
pass
@abstractmethod
def status(self) -> Coroutine[None, None, StatusResponse]:
pass