Skip to content

Commit 1b1ccee

Browse files
committed
Prefer configuration via pyproject.toml
1 parent fcb0d2e commit 1b1ccee

File tree

4 files changed

+22
-14
lines changed

4 files changed

+22
-14
lines changed

llama_deploy.yaml.jinja

Lines changed: 0 additions & 7 deletions
This file was deleted.

pyproject.toml.jinja

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,14 @@ typecheck = "ty check src"
4040
test = "pytest"
4141
"all-check" = ["format-check", "lint-check", "test"]
4242
"all-fix" = ["format", "lint", "test"]
43+
44+
[tool.llamadeploy]
45+
env_files = [".env"]
46+
llama_cloud = true
47+
48+
[tool.llamadeploy.workflows]
49+
process-file = "{{project_name_snake}}.process_file:workflow"
50+
51+
[tool.llamadeploy.ui]
52+
directory = "ui"
53+

test-proj/llama_deploy.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

test-proj/pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,14 @@ typecheck = "ty check src"
4040
test = "pytest"
4141
"all-check" = ["format-check", "lint-check", "test"]
4242
"all-fix" = ["format", "lint", "test"]
43+
44+
[tool.llamadeploy]
45+
env_files = [".env"]
46+
llama_cloud = true
47+
48+
[tool.llamadeploy.workflows]
49+
process-file = "test_proj.process_file:workflow"
50+
51+
[tool.llamadeploy.ui]
52+
directory = "ui"
53+

0 commit comments

Comments
 (0)