-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
81 lines (70 loc) · 2.18 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
[project]
name = "agntcy-iomapper"
version = "0.2.2"
license = "Apache-2.0"
description = "A tool to transform output from one agent to the input of another."
readme = "README.md"
authors = [
]
maintainers = [
]
[project.urls]
Homepage = "https://github.com/agntcy/iomapper-agnt"
Source = "https://github.com/agntcy/iomapper-agnt"
Documentation = "https://docs.agntcy.org/pages/semantic_sdk/io_mapper.html"
Issues = "https://github.com/agntcy/iomapper-agnt/issues"
[tool.poetry.dependencies]
python = ">=3.9.0,<4.0"
python-dotenv = "^1.0.1"
jinja2 = "^3.1.5"
openapi-pydantic = "^0.5.1"
pydantic-ai = { version = "^0.0.23", optional = true }
jsonschema = { extras = ["format"], version = "^4.23.0" }
jsonpath-ng = "^1.7.0"
pydantic = "^2.10.6"
langchain = { version = "^0.3.19", optional = true }
langgraph = { version = "^0.3.16", optional = true }
langchain-openai = { version = "^0.3.6", optional = true }
llama-index = "^0.12.20"
jsonref = "^1.1.0"
[tool.poetry.extras]
langgraph = ["langchain", "langgraph", "langchain-openai"]
pydantic-ai = ["pydantic-ai"]
[tool.poetry.group.test.dependencies]
pytest = "*"
pytest-asyncio = "^0.23.5"
deepdiff = "^8.1.1"
[tool.poetry.group.sanity.dependencies]
mypy = "^1.10.0"
ruff = "^0.4.6"
[tool.pytest.ini_options]
pythonpath = ["."]
asyncio_mode = "auto"
markers = ["llm: Requires access to an LLM"]
[tool.ruff]
lint.select = ["E", "F", "I", "TID251"]
lint.ignore = ["E501"]
line-length = 88
indent-width = 4
extend-include = ["*.ipynb"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"
[tool.mypy]
disallow_untyped_defs = true
explicit_package_bases = true
warn_no_return = false
warn_unused_ignores = true
warn_redundant_casts = true
allow_redefinition = true
# https://mypy.readthedocs.io/en/stable/config_file.html
disable_error_code = "typeddict-item, return-value, override, has-type"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"