-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (68 loc) · 1.53 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (68 loc) · 1.53 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
73
74
75
76
77
78
[project]
name = "caploom"
version = "0.1.0"
description = "A small, reversible plugin runtime kernel for composing agent capabilities."
readme = "README.md"
requires-python = ">=3.12"
dependencies = []
[project.scripts]
caploom-demo = "caploom.demo.cli:app"
[project.optional-dependencies]
capabilities = ["pydantic>=2.11,<3"]
demo = [
"pydantic>=2.11,<3",
"fastapi>=0.115,<1",
"uvicorn>=0.34,<1",
"httpx>=0.28,<1",
"typer>=0.16,<1",
]
agent = ["pydantic-ai-slim[openai]>=1,<2"]
plugins = [
"packaging>=24,<27",
"pydantic>=2.11,<3",
]
http = [
"httpx>=0.28,<1",
"pydantic>=2.11,<3",
]
mcp = [
"mcp>=2,<3",
"pydantic>=2.11,<3",
]
[dependency-groups]
dev = [
"mypy>=1.17.0",
"pytest>=8.4.0",
"pytest-cov>=6.2.0",
"ruff>=0.12.0",
"playwright>=1.54,<2",
]
[build-system]
requires = ["uv_build>=0.12.7,<0.13.0"]
build-backend = "uv_build"
[tool.ruff]
target-version = "py312"
line-length = 100
extend-exclude = [".agents", ".codex", ".trellis"]
[tool.ruff.lint]
select = ["ASYNC", "B", "E", "F", "I", "RUF", "SIM", "UP"]
ignore = [
# Keep exported runtime aliases and forward references readable until the
# public API settles; PEP 695 syntax would not improve the contract here.
"UP040",
"UP047",
]
[tool.mypy]
python_version = "3.12"
strict = true
warn_unreachable = true
[tool.pytest.ini_options]
addopts = "-ra --strict-config --strict-markers"
testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["caploom"]
[tool.coverage.report]
fail_under = 95
show_missing = true
skip_covered = true