Merge pull request #1336 from lnbits/mypy_fix_ignore_missing_imports
fix: mypy - constrain `ignore_missing_imports = "True"`
This commit is contained in:
commit
b8dd74299d
44 changed files with 92 additions and 77 deletions
|
|
@ -86,7 +86,6 @@ lnbits = "lnbits.server:main"
|
|||
profile = "black"
|
||||
|
||||
[tool.mypy]
|
||||
ignore_missing_imports = "True"
|
||||
files = "lnbits"
|
||||
exclude = """(?x)(
|
||||
^lnbits/extensions/bleskomat.
|
||||
|
|
@ -94,6 +93,27 @@ exclude = """(?x)(
|
|||
| ^lnbits/wallets/lnd_grpc_files.
|
||||
)"""
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = [
|
||||
"embit.*",
|
||||
"secp256k1.*",
|
||||
"uvicorn.*",
|
||||
"sqlalchemy.*",
|
||||
"sqlalchemy_aio.*",
|
||||
"websocket.*",
|
||||
"websockets.*",
|
||||
"pyqrcode.*",
|
||||
"cashu.*",
|
||||
"shortuuid.*",
|
||||
"grpc.*",
|
||||
"lnurl.*",
|
||||
"bitstring.*",
|
||||
"ecdsa.*",
|
||||
"psycopg2.*",
|
||||
"pyngrok.*"
|
||||
]
|
||||
ignore_missing_imports = "True"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "--durations=1 -s --cov=lnbits --cov-report=xml"
|
||||
testpaths = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue