mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-22 14:22:55 +01:00
feat: explicitly specify for which modules to ignore_missing_imports
This commit is contained in:
parent
c439732f9b
commit
e97fb086cc
1 changed files with 4 additions and 1 deletions
|
@ -86,7 +86,6 @@ lnbits = "lnbits.server:main"
|
|||
profile = "black"
|
||||
|
||||
[tool.mypy]
|
||||
ignore_missing_imports = "True"
|
||||
files = "lnbits"
|
||||
exclude = """(?x)(
|
||||
^lnbits/extensions/bleskomat.
|
||||
|
@ -95,6 +94,10 @@ exclude = """(?x)(
|
|||
| ^lnbits/wallets/lnd_grpc_files.
|
||||
)"""
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = "embit.*,secp256k1.*,uvicorn.*,sqlalchemy.*,sqlalchemy_aio.*,websocket.*,pyqrcode.*,cashu.*,shortuuid.*,grpc.*,lnurl.*"
|
||||
ignore_missing_imports = "True"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "--durations=1 -s --cov=lnbits --cov-report=xml"
|
||||
testpaths = [
|
||||
|
|
Loading…
Add table
Reference in a new issue