-
Notifications
You must be signed in to change notification settings - Fork 19
/
pyproject.toml
76 lines (64 loc) · 1.81 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
[project]
authors = [
{ name = "William Fu-Hinthorn", email = "[email protected]" },
]
license = { text = "MIT" }
requires-python = "<4.0,>=3.10"
dependencies = [
"langgraph>=0.2.25",
"dydantic<1.0.0,>=0.0.7",
"jsonpatch<2.0,>=1.33",
]
name = "trustcall"
version = "0.0.26"
description = "Tenacious & trustworthy tool calling built on LangGraph."
readme = "README.md"
[dependency-groups]
dev = [
"ruff<1.0.0,>=0.4.10",
"mypy<2.0.0,>=1.10.1",
"pytest<9.0.0,>=8.2.2",
"pytest-socket<1.0.0,>=0.7.0",
"langchain<1.0,>=0.3",
"langchain-openai<1.0,>=0.2",
"langchain-fireworks<1.0,>=0.2",
"langchain-anthropic<1.0,>=0.2",
"vcrpy<7.0.0,>=6.0.1",
"pytest-watch>=4.2.0",
"pytest-xdist>=3.6.1",
"anyio>=4.7.0",
"pytest-asyncio-cooperative>=0.37.0",
]
[tool.setuptools]
packages = ["trustcall"]
[tool.setuptools.package-dir]
"trustcall" = "trustcall"
[tool.ruff]
lint.select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"D", # pydocstyle
"D401", # First line should be in imperative mood
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 80
[tool.pytest.ini_options]
# --strict-markers will raise errors on unknown marks.
# https://docs.pytest.org/en/7.1.x/how-to/mark.html#raising-errors-on-unknown-marks
#
# https://docs.pytest.org/en/7.1.x/reference/reference.html
# --strict-config any warnings encountered while parsing the `pytest`
# section of the configuration file raise errors.
addopts = "--strict-markers --strict-config --durations=5 -vv"
[tool.uv.sources]
trustcall = { workspace = true }
[tool.pytest-watcher]
now = true
delay = 3
patterns = ["*.py"]