mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
pyln: Add mypy typing exceptions for external dependencies
We don't control them, and starting to write type stubs for them is a different can of worms.
This commit is contained in:
committed by
Rusty Russell
parent
e13c435aca
commit
c498f949cc
@@ -1,10 +1,10 @@
|
||||
from bitcoin.core import COIN
|
||||
from bitcoin.rpc import RawProxy as BitcoinProxy
|
||||
from bitcoin.core import COIN # type: ignore
|
||||
from bitcoin.rpc import RawProxy as BitcoinProxy # type: ignore
|
||||
from pyln.client import RpcError
|
||||
from pyln.testing.btcproxy import BitcoinRpcProxy
|
||||
from collections import OrderedDict
|
||||
from decimal import Decimal
|
||||
from ephemeral_port_reserve import reserve
|
||||
from ephemeral_port_reserve import reserve # type: ignore
|
||||
from pyln.client import LightningRpc
|
||||
from pyln.client import Millisatoshi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user