Thank you for your interest in contributing!
uv sync --group dev uv run pytest tests/src/e2e/ -v cp .env.example .env # Edit with your HA details
uv sync --group dev uv run ruff format src/ tests/ # Format
uv run ruff check --fix src/ tests/ # Lint
uv run mypy src/ # Type check Tests use Docker containers via testcontainers. No manual setup needed.
# Run all E2E tests
HAMCP_ENV_FILE=tests/.env.test uv run pytest tests/src/e2e/ -v
# Run specific test file
uv run pytest tests/src/e2e/workflows/automation/test_lifecycle.py -v See tests/README.md for detailed testing documentation.
Follow existing patterns, add type hints, test new features
Update README.md for user-facing changes
Use the template, ensure tests pass
Every contribution helps make ha-mcp better for the community.