-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (59 loc) · 1.73 KB
/
pyproject.toml
File metadata and controls
72 lines (59 loc) · 1.73 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "toolguard"
version = "0.2.16"
description = "Policy adherence code generation for guarding AI agent tools"
readme = "README.md"
authors = [
{ name = "Naama Zwerdling", email = "naamaz@il.ibm.com" },
{ name = "David Boaz", email = "davidbo@il.ibm.com" },
]
requires-python = ">=3.10,<3.15"
dependencies = [
"datamodel-code-generator>=0.52.2",
"langchain-core>=0.3.72",
"litellm>=1.82.6,!=1.82.7,!=1.82.8", # https://github.com/BerriAI/litellm/issues/24512
"markdown>=3.7",
"pydantic>=2.11.0",
"pytest>=8.3.3",
"pytest-asyncio>=1.3.0",
"pytest-json-report>=1.5.0",
"pyright>=1.1.408",
"smolagents>=1.21.3",
"fastmcp>=2.13.0",
"loguru"
]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
license = { file = "LICENSE" }
[tool.hatch.metadata]
allow-direct-references = true
[dependency-groups]
dev = [
"dotenv",
"pre-commit>=4.2.0",
"tau2 @ git+https://github.com/sierra-research/tau2-bench.git@main ; python_version >= '3.12'",
]
[tool.hatch.build.targets.wheel]
packages = ["src/toolguard"]
[tool.hatch.build.targets.wheel.sources]
"src/toolguard/buildtime/gen_spec/prompts" = "toolguard/buildtime/gen_spec/prompts"
"src/toolguard/buildtime/gen_py/templates" = "toolguard/buildtime/gen_py/templates"
[tool.hatch.build]
include = [
"src/toolguard",
"README.md",
"LICENSE",
]
[tool.pytest.ini_options]
# Cleaner than "-s": shows output live AND still captures it for failures
addopts = "--capture=tee-sys"
filterwarnings = [
"ignore::DeprecationWarning",
]
asyncio_mode = "auto"