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

@ -97,6 +97,7 @@ markers = ["async_test"]
namespace_packages = true
mypy_path = "langflow"
ignore_missing_imports = true
disable_error_code = ["type-var"]
[tool.ruff]