forked from redpanda-data/agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (84 loc) · 2.01 KB
/
pyproject.toml
File metadata and controls
96 lines (84 loc) · 2.01 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
90
91
92
93
94
[project]
name = "redpanda-agents"
version = "0.1.0"
description = "the best way to vibe code enterprise agents"
readme = "README.md"
authors = [
{ name = "Tyler Rockwood", email = "rockwood@redpanda.com" }
]
requires-python = ">=3.13"
dependencies = [
"aiohttp>=3.11.16",
"grpcio>=1.71.0",
"grpcio-health-checking>=1.71.0",
"litellm>=1.70.0",
"mcp>=1.12.0",
"opentelemetry-api>=1.32.1",
"opentelemetry-sdk>=1.32.1",
"protobuf>=5.29.4",
"pydantic>=2.10.6",
"websockets>=15.0.1",
]
license = "Apache-2.0"
license-files = ["LICENSE"]
[dependency-groups]
dev = [
"mypy",
"ruff",
"pytest",
"pytest-asyncio",
"pyright",
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]",
"grpcio-tools>=1.71.0",
"mypy-protobuf>=3.6.0",
"types-protobuf>=5.29.1.20250403",
]
[tool.uv.workspace]
members = ["redpanda"]
[tool.uv.sources]
redpanda = { workspace = true }
[tool.ruff]
line-length = 100
target-version = "py39"
exclude = ["v1alpha1"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
isort = { combine-as-imports = true, known-first-party = ["redpanda"] }
[tool.ruff.lint.pydocstyle]
convention = "google"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/redpanda"]
[tool.ruff.lint.per-file-ignores]
"examples/**/*.py" = ["E501"]
[tool.pyright]
exclude = [
"src/redpanda/runtime/v1alpha1/**",
"**/__pycache__",
"**/.*",
]
reportUnusedCallResult = false
reportExplicitAny = false
reportAny = false
reportUnknownParameterType = false
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
filterwarnings = [
# https://github.com/BerriAI/litellm/pull/9372
"ignore:.*ConfigDict.*:pydantic.PydanticDeprecatedSince20",
# An error in litellm caching module
"ignore:::litellm",
]