-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (77 loc) · 2.17 KB
/
pyproject.toml
File metadata and controls
89 lines (77 loc) · 2.17 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
79
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = ["setuptools>=77", "setuptools-scm[toml]>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "opencode-a2a"
dynamic = ["version"]
description = "OpenCode A2A runtime"
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
authors = [
{ name = "liujuanjuan1984@Intelligent-Internet" },
]
keywords = ["a2a", "opencode", "fastapi", "json-rpc", "sse"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Framework :: FastAPI",
"Topic :: Internet :: WWW/HTTP",
]
dependencies = [
"a2a-sdk==0.3.25",
"aiosqlite>=0.20,<1.0",
"fastapi>=0.110,<1.0",
"httpx>=0.27,<1.0",
"pydantic>=2.6,<3.0",
"pydantic-settings>=2.2,<3.0",
"sqlalchemy>=2.0,<3.0",
"sse-starlette>=2.1,<4.0",
"uvicorn>=0.29,<1.0",
]
[project.optional-dependencies]
dev = [
"mypy>=1.19.1,<2.0",
"pip-audit>=2.9,<3.0",
"pre-commit>=4.5.1,<5.0",
"pygments>=2.20.0,<3.0",
"pytest>=8.0,<10.0",
"pytest-asyncio>=0.23,<2.0",
"pytest-cov>=7.0.0,<8.0.0",
"ruff>=0.5,<0.16",
]
[project.scripts]
opencode-a2a = "opencode_a2a.cli:main"
[project.urls]
Homepage = "https://github.com/Intelligent-Internet/opencode-a2a"
Repository = "https://github.com/Intelligent-Internet/opencode-a2a"
Issues = "https://github.com/Intelligent-Internet/opencode-a2a/issues"
[tool.ruff]
line-length = 100
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
[tool.ruff.format]
quote-style = "double"
[tool.uv]
package = true
[tool.setuptools_scm]
fallback_version = "0+unknown"
tag_regex = "^v?(?P<version>.+)$"
[tool.setuptools.package-data]
opencode_a2a = ["py.typed"]
[tool.mypy]
python_version = "3.11"
files = ["src/opencode_a2a"]
show_error_codes = true
pretty = true
warn_redundant_casts = true
warn_unused_ignores = true
check_untyped_defs = true
warn_return_any = true
[tool.pytest.ini_options]
addopts = "--cov=src/opencode_a2a --cov-report=term-missing --cov-report=json:.coverage.json --cov-fail-under=90"