mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-26 22:05:29 +00:00
chore(langchain): cleanup langchain_v1
mypy config (#32809)
Co-authored-by: Mason Daugherty <mason@langchain.dev>
This commit is contained in:
committed by
GitHub
parent
86fa34f3eb
commit
aa63de9366
@@ -59,10 +59,10 @@ test = [
|
||||
]
|
||||
codespell = ["codespell<3.0.0,>=2.2.0"]
|
||||
lint = [
|
||||
"ruff<0.13,>=0.12.11",
|
||||
"mypy>=1.15",
|
||||
"ruff>=0.12.2",
|
||||
]
|
||||
typing = [
|
||||
"mypy<0.18,>=1.17.1",
|
||||
"types-toml>=0.10.8.20240310",
|
||||
]
|
||||
|
||||
@@ -88,19 +88,14 @@ exclude = ["tests/integration_tests/examples/non-utf8-encoding.py"]
|
||||
line-length = 100
|
||||
|
||||
[tool.mypy]
|
||||
strict = "True"
|
||||
strict_bytes = "True"
|
||||
ignore_missing_imports = "True"
|
||||
strict = true
|
||||
ignore_missing_imports = true
|
||||
enable_error_code = "deprecated"
|
||||
report_deprecated_as_note = "True"
|
||||
exclude = ["tests/unit_tests/agents/*", "tests/integration_tests/agents/*"]
|
||||
|
||||
# TODO: activate for 'strict' checking
|
||||
disallow_untyped_calls = "False"
|
||||
disallow_any_generics = "False"
|
||||
disallow_untyped_decorators = "False"
|
||||
warn_return_any = "False"
|
||||
strict_equality = "False"
|
||||
disallow_any_generics = false
|
||||
warn_return_any = false
|
||||
|
||||
[tool.codespell]
|
||||
skip = ".git,*.pdf,*.svg,*.pdf,*.yaml,*.ipynb,poetry.lock,*.min.js,*.css,package-lock.json,example_data,_dist,examples,*.trig"
|
||||
|
Reference in New Issue
Block a user