-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
67 lines (57 loc) · 1.37 KB
/
pyproject.toml
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
[project]
description = "DeepThink exposed as a standard LLM API with thinking. Swappable model backend."
dynamic = ["version"]
license = { file = "LICENSE" }
name = "deepthink-api"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"aiojobs~=1.3",
"crawl4ai~=0.5",
"diskcache~=5.6",
"fastapi~=0.115",
"gunicorn~=23.0",
"litellm~=1.63",
"numpydoc~=1.8",
"pydantic~=2.8",
"python-dotenv~=1.0",
"sse-starlette~=2.2",
"structlog~=24.4",
"uvicorn[standard]~=0.32",
]
[project.optional-dependencies]
dev = [
"deptry~=0.19",
"openai~=1.65",
"pyright~=1.1",
"pytest-asyncio~=0.24",
"pytest-xdist[psutil]~=3.6",
"pytest~=8.3",
"ruff~=0.6",
]
[tool.setuptools]
py-modules = ["app"]
[tool.deptry]
pep621_dev_dependency_groups = ["dev"]
[tool.deptry.per_rule_ignores]
DEP001 = ["app"]
DEP002 = ["gunicorn", "uvicorn", "numpydoc", "diskcache"]
[tool.ruff]
target-version = "py313"
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.ruff.format]
docstring-code-format = true
[tool.pyright]
pythonVersion = "3.13"
include = ["app", "tests"]
[tool.ruff.lint]
ignore = ["A005"]
select = ["A", "ARG", "ASYNC", "DTZ", "I", "PERF", "PL", "RUF", "T20", "UP"]
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"
asyncio_mode = "auto"
junit_suite_name = "deepthink-api"
log_file_level = "INFO"
pythonpath = ["app"]
testpaths = ["tests"]