Thank you for your interest in contributing to CodeCanvas! This document provides guidelines for contributing.
- Check if the bug has already been reported in Issues
- If not, create a new issue with:
- Clear title and description
- Minimal reproducible code
- Expected vs actual behavior
- Environment info (OS, Python version, Pillow version)
- Screenshots if applicable
- Open an issue with the
[Feature]label - Describe the feature and its use case
- If possible, provide example code showing how the feature would be used
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature-name - Write code following PEP 8 style guidelines
- Add tests for new functionality
- Update documentation if needed
- Commit with conventional commit messages:
feat: add new featurefix: fix bugdocs: update documentationrefactor: code refactoringtest: add testschore: maintenance tasks
- Push and create a Pull Request
# Clone the repository
git clone https://github.com/gitstq/CodeCanvas.git
cd CodeCanvas
# Install dependencies
pip install -e ".[dev]"
# Run tests
pytest tests/ -v
# Run demo
python examples/demo.py- Follow PEP 8
- Use type hints
- Add docstrings to all public functions and classes
- Keep functions focused and small
- Handle errors gracefully
By contributing, you agree that your contributions will be licensed under the MIT License.