mirror of
https://github.com/dataforcanada/d4c-service-geo-assistant.git
synced 2026-06-13 22:41:01 +02:00
2d5af2adb9
* Set asyncio_mode="auto" in pytest.ini config Xref https://pytest-asyncio.readthedocs.io/en/latest/reference/configuration.html#asyncio-mode * Add test-python GitHub Actions CI workflow * Add `--color=yes` flag to force GitHub Actions logs to have color Xref https://github.com/pytest-dev/pytest/issues/7443 * Refactor contents of test_api.py slightly Using some ruff rules * Delete test_api.py * Make test_get_place async * Make get_place async, and call .ainvoke method on it
40 lines
678 B
TOML
40 lines
678 B
TOML
[project]
|
|
name = "geo-assistant"
|
|
version = "0.0.1"
|
|
description = "Geo Assistant"
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"langgraph",
|
|
"fastapi",
|
|
"pydantic",
|
|
"geojson_pydantic",
|
|
"streamlit",
|
|
"httpx",
|
|
"uvicorn[standard]",
|
|
"langchain-ollama",
|
|
"langchain",
|
|
"python-dotenv",
|
|
"duckdb",
|
|
"shapely",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ruff",
|
|
"pytest",
|
|
"pytest-asyncio",
|
|
"pre-commit",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/geo_assistant"]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = "--color=yes"
|
|
asyncio_mode = "auto"
|