feat: use __all__ to export deps from __init__.py (#2630)

* feat: export wallets
* remove linting exception
This commit is contained in:
dni ⚡
2024-08-08 07:29:21 +02:00
committed by GitHub
parent 40ffa7dea0
commit 74d4ddd312
4 changed files with 28 additions and 4 deletions
+23
View File
@@ -50,3 +50,26 @@ fake_wallet = FakeWallet()
# initialize as fake wallet
funding_source: Wallet = fake_wallet
__all__ = [
"AlbyWallet",
"BlinkWallet",
"BreezSdkWallet",
"ClicheWallet",
"CoreLightningWallet",
"CLightningWallet",
"CoreLightningRestWallet",
"EclairWallet",
"FakeWallet",
"LNbitsWallet",
"LndWallet",
"LndRestWallet",
"LNPayWallet",
"LnTipsWallet",
"OpenNodeWallet",
"PhoenixdWallet",
"SparkWallet",
"VoidWallet",
"ZBDWallet",
]
+2
View File
@@ -1 +1,3 @@
from .macaroon import load_macaroon
__all__ = ["load_macaroon"]