Contributing
Thank you for contributing to UniFace!
Quick Start
# Clone
git clone https://github.com/yakhyo/uniface.git
cd uniface
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
Code Style
We use Ruff for formatting:
Guidelines:
- Line length: 120
- Python 3.11+ type hints
- Google-style docstrings
Pre-commit Hooks
Pull Request Process
- Fork the repository
- Create a feature branch
- Write tests for new features
- Ensure tests pass
- Submit PR with clear description
Adding New Models
- Create model class in appropriate submodule
- Add weight constants to
uniface/constants.py - Export in
__init__.pyfiles - Write tests in
tests/ - Add example in
tools/or notebooks
Questions?
Open an issue on GitHub.