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:
Christian Decker
2020-09-25 16:47:55 +02:00
committed by Rusty Russell
parent e13c435aca
commit c498f949cc
4 changed files with 19 additions and 18 deletions

View File

@@ -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