54 lines
1.6 KiB
TOML
54 lines
1.6 KiB
TOML
[project]
|
|
name = "auto-commit-service"
|
|
version = "0.2.7"
|
|
description = "Automated commit message generation service using local LLM inference"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"lilith-service-fastapi-bootstrap>=4.0.0",
|
|
"lilith-pipeline-framework>=1.0.0",
|
|
"httpx>=0.27.0",
|
|
"pydantic>=2.0",
|
|
"pyyaml>=6.0",
|
|
"uvicorn>=0.30.0",
|
|
"typer>=0.12.0",
|
|
"sqlalchemy[asyncio]>=2.0.0",
|
|
"aiosqlite>=0.19.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
commits = "auto_commit_service.cli:main"
|
|
|
|
[project.optional-dependencies]
|
|
model-boss = [
|
|
"lilith-model-boss>=0.1.0",
|
|
]
|
|
tray = [
|
|
"rumps>=0.4.0",
|
|
]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.23",
|
|
"pytest-httpx>=0.30",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/auto_commit_service"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|
|
|
|
# Resolve workspace Python packages from local source checkouts. This makes
|
|
# `uv sync` work without needing the packages on a PyPI registry — each
|
|
# referenced path points at the in-repo source of the library.
|
|
[tool.uv.sources]
|
|
lilith-pipeline-framework = { path = "../../../@packages/@py/pipeline-framework", editable = true }
|
|
lilith-service-fastapi-bootstrap = { path = "../../../@packages/@py/service-fastapi-bootstrap", editable = true }
|
|
lilith-model-boss = { path = "../../@model-boss/packages/core-py", editable = true }
|
|
lilith-queue-cli = { path = "../../../@packages/@py/queue", editable = true }
|
|
lilith-service-addresses = { path = "../../../@packages/@py/service-addresses", editable = true }
|