mirror of
https://github.com/run-llama/template-workflow-basic.git
synced 2026-07-01 20:54:00 -04:00
32 lines
799 B
TOML
32 lines
799 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "basic"
|
|
version = "0.1.0"
|
|
description = "A base example that showcases usage patterns for workflows"
|
|
requires-python = ">=3.10"
|
|
readme = "README.md"
|
|
dependencies = ["llama-index-workflows", "llama-index-llms-openai"]
|
|
|
|
[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"]
|
|
|
|
[dependency-groups]
|
|
dev = ["hatch>=1.14.2", "pytest>=8.4.2", "ruff>=0.13.2", "ty>=0.0.1a21"]
|
|
|
|
|
|
[tool.llamadeploy]
|
|
env_files = [".env"]
|
|
|
|
[tool.llamadeploy.workflows]
|
|
default = "basic.workflow:workflow"
|