Update mypy version and add follow_imports option

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-01-30 16:17:02 -03:00
commit c78c34983d
2 changed files with 90 additions and 86 deletions

View file

@ -113,7 +113,7 @@ langchain-openai = "^0.0.2"
pytest-asyncio = "^0.23.1"
types-redis = "^4.6.0.5"
ipykernel = "^6.27.0"
mypy = "^1.7.1"
mypy = "^1.8.0"
ruff = "^0.1.5"
httpx = "*"
pytest = "^7.4.2"
@ -155,7 +155,8 @@ exclude = ["src/backend/langflow/alembic/*"]
line-length = 120
[tool.mypy]
plugins = "pydantic.mypy"
plugins = ["pydantic.mypy"]
follow_imports = "silent"
[build-system]
requires = ["poetry-core"]