-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (59 loc) · 1.66 KB
/
pyproject.toml
File metadata and controls
67 lines (59 loc) · 1.66 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
[project]
name = "extraction-review"
version = "0.1.0"
description = "Extracts data"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"llama-index-workflows>=2.16.0,<3.0.0",
"python-dotenv>=1.1.0",
"jsonref>=1.1.0",
"click>=8.2.1,<8.3.0",
"httpx>=0.28.1",
"llama-index-core>=0.14.0",
"respx>=0.22.0,<1",
"llama-cloud>=2.3.0,<3",
"json-schema-to-pydantic>=0.4.8",
]
[dependency-groups]
dev = [
"ruff>=0.11.10",
"typescript>=0.0.12",
"ty>=0.0.2",
"pytest>=8.4.1",
"hatch>=1.14.1",
"pytest-asyncio>=1.3.0",
"playwright>=1.56.0,<2",
"psutil>=7.1.3",
"pytest-playwright>=0.7.2",
"pytest-timeout>=2.3.1",
"llama-cloud-fake>=0.1,<0.2",
]
# Until llama-cloud-fake is published to PyPI, resolve from the monorepo
# workspace. Remove this block once the package is on PyPI and the above
# version pin can resolve normally.
[tool.uv.sources]
llama-cloud-fake = { path = "../../packages/llama-cloud-fake", editable = true }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.envs.default.scripts]
"format" = "ruff format ."
"format-check" = "ruff format --check ."
"lint" = "ruff check --fix ."
"lint-check" = ["ruff check ."]
typecheck = "ty check src"
test = "pytest"
"all-check" = ["format-check", "lint-check", "test"]
"all-fix" = ["format", "lint", "test"]
[tool.pytest.ini_options]
timeout = 120
timeout_method = "thread"
[tool.llamadeploy]
env_files = [".env"]
llama_cloud = true
[tool.llamadeploy.workflows]
process-file = "extraction_review.process_file:workflow"
metadata = "extraction_review.metadata_workflow:workflow"
[tool.llamadeploy.ui]
directory = "ui"