Contributing
Thank you for your interest in contributing to EHDSLens!
Getting Started
1. Fork the Repository
2. Set Up Development Environment
python -m venv venv
source venv/bin/activate # Linux/Mac
# or: venv\Scripts\activate # Windows
pip install -e ".[dev]"
3. Create a Branch
Development Guidelines
Code Style
- Follow PEP 8
- Use Black for formatting
- Use isort for import sorting
- Type hints encouraged
# Format code
black src/ tests/
isort src/ tests/
# Check linting
flake8 src/ tests/
mypy src/ehdslens
Testing
Documentation
- Docstrings for all public functions
- Update relevant docs/ files
- Add examples for new features
Contribution Types
Bug Reports
- Check existing issues first
- Include Python version
- Provide minimal reproduction code
- Include error traceback
Feature Requests
- Describe the use case
- Explain proposed solution
- Consider alternatives
Pull Requests
- Reference related issues
- Include tests for new features
- Update documentation
- Follow commit message conventions
Commit Messages
feat: Add new visualization function
fix: Correct bibliography export format
docs: Update API reference
test: Add tests for search function
refactor: Simplify data loading logic
Pull Request Process
- Ensure all tests pass
- Update CHANGELOG.md
- Request review
- Address feedback
- Squash commits if needed
Code of Conduct
- Be respectful and inclusive
- Welcome newcomers
- Focus on constructive feedback
- Follow project guidelines
Questions?
- Open a GitHub issue
- Contact: fxlybs@gmail.com
Thank you for contributing!