Skip to content

Commit aa63de9

Browse files
cbornetmdrxy
andauthored
chore(langchain): cleanup langchain_v1 mypy config (#32809)
Co-authored-by: Mason Daugherty <[email protected]>
1 parent 86fa34f commit aa63de9

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

libs/langchain_v1/pyproject.toml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ test = [
5959
]
6060
codespell = ["codespell<3.0.0,>=2.2.0"]
6161
lint = [
62-
"ruff<0.13,>=0.12.11",
63-
"mypy>=1.15",
62+
"ruff>=0.12.2",
6463
]
6564
typing = [
65+
"mypy<0.18,>=1.17.1",
6666
"types-toml>=0.10.8.20240310",
6767
]
6868

@@ -88,19 +88,14 @@ exclude = ["tests/integration_tests/examples/non-utf8-encoding.py"]
8888
line-length = 100
8989

9090
[tool.mypy]
91-
strict = "True"
92-
strict_bytes = "True"
93-
ignore_missing_imports = "True"
91+
strict = true
92+
ignore_missing_imports = true
9493
enable_error_code = "deprecated"
95-
report_deprecated_as_note = "True"
9694
exclude = ["tests/unit_tests/agents/*", "tests/integration_tests/agents/*"]
9795

9896
# TODO: activate for 'strict' checking
99-
disallow_untyped_calls = "False"
100-
disallow_any_generics = "False"
101-
disallow_untyped_decorators = "False"
102-
warn_return_any = "False"
103-
strict_equality = "False"
97+
disallow_any_generics = false
98+
warn_return_any = false
10499

105100
[tool.codespell]
106101
skip = ".git,*.pdf,*.svg,*.pdf,*.yaml,*.ipynb,poetry.lock,*.min.js,*.css,package-lock.json,example_data,_dist,examples,*.trig"

0 commit comments

Comments
 (0)