-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
85 lines (76 loc) · 1.66 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[project]
name = "langchain-mcp"
version = "0.1.0a1"
description = "Model Context Protocol tool calling support for LangChain"
readme = "README.md"
authors = [
{ name = "Andrew Wason", email = "rectalogic@rectalogic.com" }
]
requires-python = ">=3.10"
dependencies = [
"langchain-core~=0.3.21",
"mcp~=1.0.0",
"pydantic~=2.10.2",
"typing-extensions~=4.12.2",
]
classifiers = [
"License :: OSI Approved :: MIT License",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"langchain-tests~=0.3.4",
"pytest~=8.3.3",
"pytest-asyncio~=0.24.0",
"pytest-socket~=0.7.0",
"ruff~=0.8.0",
"mypy~=1.13.0",
"langchain-groq~=0.2.1",
]
[project.urls]
Repository = "https://github.com/rectalogic/langchain-mcp"
Issues = "https://github.com/rectalogic/langchain-mcp/issues"
Related = "https://modelcontextprotocol.io/"
[tool.ruff]
target-version = "py310"
line-length = 120
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
select = [
# flake8-2020
"YTT",
# flake8-bandit
"S",
# flake8-bugbear
"B",
# flake8-builtins
"A",
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I",
# flake8-no-pep420
"INP",
# pyupgrade
"UP",
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S", "INP001"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "class"
[tool.mypy]
disallow_untyped_defs = true
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
strict_equality = true
no_implicit_optional = true
show_error_codes = true
files = ["src/**/*.py", "tests/demo.py"]