mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-17 21:25:46 +02:00
2b1abc807b
## Summary - replace Python lint type-checking from mypy to ty across LangGraph packages - remove mypy config/cache wiring and mypy-only references - regenerate uv locks with ty 0.0.43 ## Verification - git diff --check - make lint_package && make lint_tests in libs/langgraph - make lint_package && make lint_tests in libs/checkpoint - make lint_package && make lint_tests in libs/checkpoint-sqlite - make lint_package && make lint_tests in libs/checkpoint-postgres - make lint_package && make lint_tests in libs/prebuilt - make lint_package && make lint_tests in libs/cli - make lint in libs/sdk-py - make lint in libs/checkpoint-conformance --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: open-swe[bot] <215916821+open-swe[bot]@users.noreply.github.com>
47 lines
1.1 KiB
TOML
47 lines
1.1 KiB
TOML
[project]
|
|
name = "python-monorepo-example"
|
|
version = "0.0.1"
|
|
description = "A Python monorepo example with LangGraph agents and shared packages"
|
|
authors = [
|
|
{ name = "Developer", email = "dev@example.com" },
|
|
]
|
|
license = { text = "MIT" }
|
|
requires-python = ">=3.11,<4.0"
|
|
dependencies = [
|
|
"langgraph>=0.6.0,<2",
|
|
"langchain-core>=0.2.14",
|
|
]
|
|
|
|
[tool.uv.workspace]
|
|
members = ["apps/*", "libs/shared"]
|
|
|
|
[tool.uv.sources]
|
|
shared = { workspace = true }
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["ruff>=0.6.1", "ty"]
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=73.0.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.ruff]
|
|
lint.select = [
|
|
"E", # pycodestyle
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"D", # pydocstyle
|
|
"UP",
|
|
]
|
|
lint.ignore = [
|
|
"D100", # Missing docstring in public module
|
|
"D101", # Missing docstring in public class
|
|
"D102", # Missing docstring in public method
|
|
"D103", # Missing docstring in public function
|
|
"D104", # Missing docstring in public package
|
|
"D105", # Missing docstring in magic method
|
|
]
|
|
|
|
[tool.ruff.lint.pydocstyle]
|
|
convention = "google"
|