-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (69 loc) · 1.73 KB
/
pyproject.toml
File metadata and controls
76 lines (69 loc) · 1.73 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
[project]
name = "vcell-backend"
version = "0.1.0"
description = ""
authors = [{name = "Kacem Mathlouthi", email = "kacem.mathlouthi@insat.ucar.tn"}]
readme = "README.md"
requires-python = ">=3.12,<3.14"
dependencies = [
"fastapi>=0.115.12,<0.116.0",
"uvicorn[standard]>=0.34.3,<0.35.0",
"pydantic-settings>=2.9.1,<3.0.0",
"httpx>=0.28.1,<0.29.0",
"openai>=1.84.0,<2.0.0",
"qdrant-client>=1.15.0,<2.0.0",
"langchain>=0.3.27,<0.4.0",
"langchain-text-splitters>=0.3.8,<0.4.0",
"langfuse>=3.2.4,<4.0.0",
"pypdf>=5.8.0,<6.0.0",
"pypdf2>=3.0.1,<4.0.0",
"python-multipart>=0.0.20,<0.1.0",
"markitdown[all]>=0.1.2,<0.2.0",
"notebook>=7.4.4,<8.0.0",
"ipykernel>=6.30.0,<7.0.0",
]
[dependency-groups]
dev = [
"pytest>=8.4.1,<9.0.0",
"pytest-asyncio>=1.1.0,<2.0.0",
"ruff>=0.3.0,<1.0.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
managed = true
[tool.ruff]
line-length = 100
target-version = "py312"
exclude = [
".git",
".venv",
"__pycache__",
"*.egg-info",
".pytest_cache",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade
"ARG", # flake8-unused-arguments
"SIM", # flake8-simplify
]
ignore = [
"E501", # line too long (handled by formatter)
"W503", # line break before binary operator
"E203", # whitespace before ':'
]
[tool.ruff.lint.isort]
known-first-party = ["app"]
multi-line-string-mode = "multi"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["app/tests"]
python_files = ["test_*.py"]