From 021fec4a354fba1c25ea0191fb3d06f72f0582d0 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Thu, 16 Nov 2023 13:57:15 +0100 Subject: [PATCH] glcli: Update protobuf dependency and mypy configuration --- tools/glcli/pyproject.toml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/tools/glcli/pyproject.toml b/tools/glcli/pyproject.toml index 55eb80cb7..12dda9d5d 100644 --- a/tools/glcli/pyproject.toml +++ b/tools/glcli/pyproject.toml @@ -6,15 +6,26 @@ authors = ["Christian Decker "] license = "MIT" [tool.poetry.dependencies] -python = "^3.7" +python = "^3.8" click = "^8" -grpcio = "^1.46.1" -protobuf = "^3.20.1" +grpcio = "^1" +protobuf = "^4" gl-client = "^0.1" +[tool.poetry.group.dev.dependencies] +mypy-protobuf = "^3.5.0" +mypy = "^1.7.0" +typed-ast = "^1.5.5" +types-protobuf = "^4.24.0.4" + [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" [tool.poetry.scripts] glcli = 'glcli.cli:cli' + +[tool.mypy] + +[[tool.mypy.overrides]] +module = 'glcli'