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:
parent
724f54067f
commit
decc979e99
3 changed files with 19 additions and 12 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue