1.2 KiB
1.2 KiB
Contributing to ComfyPoe
Thanks for your interest in contributing!
Getting Started
- Fork the repository
- Clone your fork:
git clone https://github.com/mrf/ComfyPoe.git - Install development dependencies:
pip install -e ".[dev]"
Development Setup
For testing without ComfyUI, run the unit tests:
pytest tests/
For integration testing, symlink or copy to your ComfyUI installation:
ln -s /path/to/ComfyPoe /path/to/ComfyUI/custom_nodes/ComfyPoe
Making Changes
-
Create a branch for your changes:
git checkout -b feature/your-feature-name -
Make your changes
-
Run tests:
pytest tests/ -
Commit with a descriptive message
-
Push and open a pull request
Code Style
- Follow existing code patterns
- Use type hints where practical
- Keep functions focused and small
Adding New Models
To add support for a new Poe image model, add it to the POE_IMAGE_MODELS list in poe_image_nodes.py.
Reporting Issues
When reporting bugs, please include:
- ComfyUI version
- Python version
- Full error traceback
- Minimal workflow to reproduce