-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (52 loc) · 1.16 KB
/
pyproject.toml
File metadata and controls
59 lines (52 loc) · 1.16 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
[project]
name = "dspy-reference-examples"
version = "0.1.1"
description = "DSPy optimization reference for Ozempic complaint classification"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"dspy-ai>=3.1.0",
"openai>=2.14.0",
"pydantic>=2.12.5",
"pydantic-settings>=2.12.0",
"fastapi>=0.128.0",
"uvicorn>=0.40.0",
"loguru>=0.7.0",
"mlflow>=2.15.0",
]
[project.optional-dependencies]
dev = [
"pytest>=9.0.2",
"ruff>=0.14.10",
]
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
pythonpath = ["."]
markers = [
"integration: tests that hit real LLMs or external services",
]
log_cli = true
log_cli_level = "INFO"
[tool.ruff]
line-length = 120
target-version = "py313"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # Line too long - often not auto-fixable, especially in strings
]
[tool.ruff.lint.isort]
known-first-party = ["src"]