chore(ollama): switch to ty (#36571)

This commit is contained in:
Mason Daugherty
2026-04-06 15:07:09 -04:00
committed by GitHub
parent 555bdfbade
commit d7575ffac9
6 changed files with 37 additions and 81 deletions

View File

@@ -51,7 +51,7 @@ test_integration = []
lint = ["ruff>=0.13.1,<0.14.0"]
dev = ["langchain-core"]
typing = [
"mypy>=1.17.1,<2.0.0",
"ty>=0.0.1,<1.0.0",
"langchain-core"
]
@@ -62,9 +62,6 @@ constraint-dependencies = ["pygments>=2.20.0"] # CVE-2026-4539
langchain-core = { path = "../../core", editable = true }
langchain-tests = { path = "../../standard-tests", editable = true }
[tool.mypy]
disallow_untyped_defs = "True"
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 100