[project] name = "hapi" version = "0.1.0" description = "Personal, cloud-hosted API for one Household and its automations" readme = "README.md" requires-python = ">=3.14" dependencies = [ "fastapi>=0.165.0", "typer>=0.29.3", "uvicorn>=0.54.0", ] [project.scripts] hapi = "hapi.cli:main" [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["src/hapi"] [tool.pytest.ini_options] asyncio_mode = "auto" asyncio_default_fixture_loop_scope = "function" testpaths = ["tests"] [tool.ruff] line-length = 100 target-version = "py314" src = ["src", "tests"] [tool.ruff.lint] select = [ "E", "W", "F", "I", "N", "UP", "B", "A", "C4", "DTZ", "S", "SIM", "PT", "RET", "TID", "ASYNC", "PL", "RUF", ] [tool.ruff.lint.per-file-ignores] "tests/**" = ["S101", "S603", "PLR2004"] [tool.pyright] include = ["src", "tests"] pythonVersion = "3.14" typeCheckingMode = "strict" venvPath = "." venv = ".venv" [dependency-groups] dev = [ "httpx>=0.29.0", "pyright>=1.1.414", "pytest>=9.2.0", "pytest-asyncio>=1.5.0", "ruff>=0.17.6", "rust-just>=1.59.0", ]