diff --git a/mypy.ini b/mypy.ini index 735f89e0..e5a974b5 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,7 +1,8 @@ [mypy] ignore_missing_imports = True -exclude = lnbits/wallets/lnd_grpc_files/ -exclude = lnbits/extensions/ - +exclude = (?x)( + ^lnbits/extensions. + | ^lnbits/wallets/lnd_grpc_files. + ) [mypy-lnbits.wallets.lnd_grpc_files.*] follow_imports = skip diff --git a/requirements.txt b/requirements.txt index f8ccf47c..512011ec 100644 --- a/requirements.txt +++ b/requirements.txt @@ -44,6 +44,7 @@ sqlalchemy==1.3.23 sqlalchemy-aio==0.16.0 sse-starlette==0.6.2 starlette==0.14.2 +types-protobuf==3.19.22 typing-extensions==3.10.0.2 uvicorn==0.15.0 uvloop==0.16.0