forked from run-llama/llama-agents
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (74 loc) · 2 KB
/
Copy pathpyproject.toml
File metadata and controls
87 lines (74 loc) · 2 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
77
78
79
80
81
82
83
84
85
86
87
[build-system]
requires = ["uv_build>=0.9.10,<0.10.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"pytest-xdist>=3.8.0",
"ruff>=0.14.5",
"ty>=0.0.1a26"
]
[project]
name = "llama-agents-workspace"
version = "0.1.0"
description = "Monorepo workspace for the LlamaIndex Workflows packages."
readme = "README.md"
license = "MIT"
requires-python = ">=3.9"
[tool.basedpyright]
typeCheckingMode = "standard"
[[tool.basedpyright.executionEnvironments]]
root = "packages/llama-index-workflows"
pythonVersion = "3.9"
[[tool.basedpyright.executionEnvironments]]
root = "packages/llama-index-utils-workflow"
pythonVersion = "3.9"
[[tool.basedpyright.executionEnvironments]]
root = "packages/workflows-dev"
pythonVersion = "3.14"
[[tool.basedpyright.executionEnvironments]]
root = "examples"
pythonVersion = "3.14"
[tool.coverage.run]
omit = ["**/tests/*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.ruff.lint]
select = [
# default flake8 rules
"E4",
"E7",
"E9",
"F", # Pyflakes rules https://docs.astral.sh/ruff/rules/#pyflakes-f
"I", # sort imports https://docs.astral.sh/ruff/rules/#isort-i
"UP007", # Use X | Y for type annotations
"UP045", # Use X | None for type annotations
"ANN001", # Missing type annotation for function argument {name}
"ANN002", # Missing type annotation for *{name}
"ANN003", # Missing type annotation for **{name}
"T201" # no print statements
]
[tool.ruff.lint.per-file-ignores]
# "tests/*" = ["D", "D100", "D101"]
"examples/**/*" = ["T201"]
"packages/*/tests/**/*" = [
"T201",
"ANN001",
"ANN002",
"ANN003",
# remove UP007 and UP045 after removing 3.9 support
"UP007",
"UP045"
]
"*.ipynb" = ["T201", "ANN001", "ANN002", "ANN003"]
"__main__.py" = ["T201"]
[tool.uv.sources]
llama-index-workflows = {workspace = true}
llama-index-utils-workflow = {workspace = true}
workflows-dev = {workspace = true}
[tool.uv.workspace]
members = [
"packages/llama-index-workflows",
"packages/llama-index-utils-workflow",
"packages/workflows-dev",
"docs/api_docs"
]