Thank you for your interest in contributing to DialogChain! We welcome contributions from everyone.
- Fork the repository on GitHub
- Clone your fork locally
- Set up the development environment:
poetry install pre-commit install
- Create a new branch for your changes
- Make your changes
- Run tests and linters:
make test make lint - Commit your changes with a descriptive message
- Push to your fork and submit a pull request
- Follow PEP 8
- Use type hints for all new code
- Include docstrings for all public functions and classes
- Keep lines under 88 characters
- Write tests for new features and bug fixes
- Run tests with
pytest - Maintain at least 80% test coverage
When reporting issues, please include:
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- Environment details
- Keep PRs focused and small
- Include tests for new features
- Update documentation as needed
- Reference related issues