| description | Development guidelines for Contributing to Empathy Framework. Level 3 anticipatory design principles, coding standards, and best practices for contributors. |
|---|
Thank you for your interest in contributing to the Empathy Framework!
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/empathy.git - Create a branch:
git checkout -b feature/your-feature-name - Make your changes
- Run tests:
pytest - Commit:
git commit -m "feat: your feature description" - Push:
git push origin feature/your-feature-name - Create a Pull Request
# Clone repository
git clone https://github.com/Smart-AI-Memory/empathy.git
cd empathy
# Install in development mode
pip install -e .[dev]
# Run tests
pytest
# Run linters
black .
ruff check .We use:
- Black for code formatting
- Ruff for linting
- Google-style docstrings
All new features should include tests:
# Run all tests
pytest
# Run with coverage
pytest --cov=empathy_os
# Run specific test
pytest tests/test_core.py::test_specific_functionUpdate documentation for any user-facing changes:
- Add examples to
docs/examples/ - Update API docs if needed
- Update CHANGELOG.md
- Keep PRs focused (one feature/fix per PR)
- Include tests
- Update documentation
- Follow commit message conventions:
feat:new featurefix:bug fixdocs:documentationtest:testsrefactor:refactoring
Open an issue or ask in Discussions!