Files
mcp-familywall/pyproject.toml
T
marcus 09bd24a9e1 feat(tests): add comprehensive unit test suite (v1.4.0)
- Add 38 unit tests covering fw_client, recipes, lists, and server modules
- Test error handling: top-level ex/un, nested a00.un.un/a00.ex.ex, successful responses
- Test ingredients_parsed parser: newlines, empty lines, commas, headings
- Test list name translation: SYS-CAT-SHOPPINGLIST, SYS-CAT-TODOS, unknown names
- Test date validation: ISO YYYY-MM-DD format enforcement
- Test error response helper: JSON format, Unicode, special characters
- All tests use unittest.mock (stdlib), no external mocking libraries
- No API calls — all HTTP interactions mocked
- Framework: pytest with asyncio support
- Run: uv run pytest tests/test_unit.py -v

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-04-17 23:39:17 +02:00

50 lines
1.0 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mcp-familywall"
version = "1.4.0"
description = "MCP server for Family Wall — manage your family's circles, lists, tasks, recipes, and meal plan via Claude"
readme = "README.md"
requires-python = ">=3.12"
authors = [
{ name = "Marcus van Elst" },
]
keywords = ["mcp", "familywall", "family", "tasks", "lists"]
dependencies = [
"mcp[cli]>=1.0",
"httpx>=0.27",
"pyyaml>=6.0",
"keyring>=25.0",
"click>=8.0",
"rich>=13.0",
]
[project.urls]
Repository = "https://gitea.gecheckt.de/marcus/mcp-familywall"
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.24",
"ruff>=0.5",
]
[project.scripts]
mcp-familywall = "mcp_familywall.cli:app"
[tool.hatch.build.targets.wheel]
packages = ["src/mcp_familywall"]
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "SIM", "TCH"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"