[project] name = "agentci" version = "0.1.0" description = "A Gitea webhook host that orchestrates resumable OpenCode workflows" readme = "README.md" requires-python = ">=3.13" dependencies = [ "fastapi>=0.116,<1", "httpx>=0.28,<1", "pydantic>=2.11,<3", "pydantic-settings>=2.10,<3", "uvicorn[standard]>=0.35,<1", ] [project.scripts] agentci = "agentci.__main__:main" [dependency-groups] dev = [ "pyright>=1.1.403", "pytest>=8.4,<9", "pytest-asyncio>=1.1,<2", "respx>=0.22,<1", "ruff>=0.12,<1", ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["src/agentci"] [tool.hatch.build.targets.wheel.force-include] "scripts/gitea-askpass.sh" = "agentci/scripts/gitea-askpass.sh" [tool.pytest.ini_options] addopts = "-q" asyncio_mode = "auto" testpaths = ["tests"] [tool.ruff] line-length = 100 target-version = "py313" [tool.ruff.lint] select = ["E", "F", "I", "UP", "B", "SIM", "ASYNC"] [tool.pyright] pythonVersion = "3.13" typeCheckingMode = "standard" include = ["src", "tests"] venvPath = "." venv = ".venv"