mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
Skip following import and skip flask type to mypy code analysis.
As suggested in this issue https://github.com/python/mypy/issues/7484#issuecomment-529363083 we skip following import becuase with the recent version of mypy the __init__.py file make confusione inside the analysis (in the python issue it is unclear the main motivation of this issue. At list unclear to me). Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
b40812494d
commit
bc1eab8646
@@ -1,13 +1,13 @@
|
||||
""" A bitcoind proxy that allows instrumentation and canned responses
|
||||
"""
|
||||
from flask import Flask, request
|
||||
from flask import Flask, request # type: ignore
|
||||
from bitcoin.rpc import JSONRPCError # type: ignore
|
||||
from bitcoin.rpc import RawProxy as BitcoinProxy # type: ignore
|
||||
from cheroot.wsgi import Server # type: ignore
|
||||
from cheroot.wsgi import PathInfoDispatcher # type: ignore
|
||||
|
||||
import decimal
|
||||
import flask
|
||||
import flask # type: ignore
|
||||
import json
|
||||
import logging
|
||||
import threading
|
||||
|
||||
Reference in New Issue
Block a user