Development Setup¶
Set up your development environment for contributing.
Prerequisites¶
- Python 3.12 or 3.13
- Git
- uv or pip
Clone and Install¶
# Clone repository
git clone https://github.com/nibzard/llm-answer-watcher.git
cd llm-answer-watcher
# Install with uv (recommended)
uv sync --dev
# Or with pip
pip install -e ".[dev]"
Development Tools¶
Testing¶
# Run all tests
pytest
# Run with coverage
pytest --cov=llm_answer_watcher --cov-report=html
# Run specific test
pytest tests/test_config_loader.py::test_load_valid_config
Linting¶
Documentation¶
Making Changes¶
- Create a branch:
git checkout -b feature/my-feature - Make changes
- Run tests:
pytest - Run linting:
ruff check . - Commit:
git commit -m "feat: add feature" - Push:
git push origin feature/my-feature - Create Pull Request
See Code Standards for coding guidelines.