refactor: disable type-var error code (#2868)

* fix: disable error code "type-var" in mypy configuration

* refactor(VertexAiModel.py): restructure the return statement to improve readability and maintainability by using type casting for LanguageModel
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-07-22 12:03:36 -03:00 • committed by GitHub
commit decc979e99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 19 additions and 12 deletions

View file

@ -192,6 +192,7 @@ line-length = 120
[tool.mypy]
plugins = ["pydantic.mypy"]
follow_imports = "silent"
disable_error_code = ["type-var"]
[build-system]
requires = ["poetry-core"]