-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (60 loc) · 1.58 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (60 loc) · 1.58 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
[tool.agents]
instructions = "AGENTS.md"
[tool.uv.workspace]
members = ["packages/*"]
[tool.uv.sources]
launchdarkly-ai-server = { workspace = true }
[dependency-groups]
dev = [
"pytest>=8",
"pytest-asyncio>=0.24",
"pytest-mock>=3",
"mypy>=1.10",
"opentelemetry-sdk>=1.25",
"python-dotenv>=1.2.2",
"claude-agent-sdk>=0.2.110",
"opentelemetry-exporter-otlp-proto-http>=1.43.0",
"launchdarkly-server-sdk>=9.0",
"langchain-openai>=0.3",
"langchain-anthropic>=1.4.8",
"ruff>=0.15.20",
"pre-commit>=4.6.0",
"brotlicffi>=1.0",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "--import-mode=importlib"
pythonpath = ["."]
[tool.mypy]
strict = true
python_version = "3.12"
[tool.ruff]
target-version = "py312"
line-length = 88
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"RUF", # ruff-specific rules
]
ignore = [
"E501", # line too long — handled by the formatter where possible
"RUF001", "RUF002", "RUF003", # ambiguous unicode in strings/docstrings/comments — intentional
"UP046", # Generic[T] → PEP 695 syntax — deliberate migration
]
[tool.ruff.lint.isort]
known-first-party = [
"launchdarkly_ai_python",
"launchdarkly_ai_server",
"launchdarkly_ai_claude_agents",
"launchdarkly_ai_claude_messages",
"launchdarkly_ai_langchain_agents",
"launchdarkly_ai_langchain_messages",
"launchdarkly_ai_openai_agents",
"launchdarkly_ai_openai_messages",
]