Contributing to DeepChopper
January 20, 2026 ยท View on GitHub
We welcome contributions to DeepChopper! This document provides guidelines for contributing to the project.
Getting Started
-
Fork the repository on GitHub.
-
Clone your fork locally:
git clone https://github.com/ylab-hi/DeepChopper.git cd DeepChopper -
Set up your development environment:
conda env create -n environment.yaml conda activate deepchopper pip install uv uv sync --all-extrasAlternatively, without conda:
pip install uv uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate uv sync --all-extras
Making Changes
-
Create a new branch for your feature or bugfix:
git checkout -b feature/your-feature-name -
Make your changes and commit them with a clear commit message.
-
Push your changes to your fork on GitHub:
git push origin feature/your-feature-name -
Open a pull request against the main repository.
Coding Standards
- Follow PEP 8 guidelines for Python code.
- Write clear, concise comments and docstrings.
- Ensure your code is compatible with Python 3.10+.
Testing
- Add unit tests for new functionality.
- Ensure all tests pass before submitting a pull request:
Documentation
- Update the README.md if you're adding or changing features.
- Add or update docstrings for new or modified functions and classes.
Submitting Pull Requests
- Ensure your PR description clearly describes the problem and solution.
- Include the relevant issue number if applicable.
- Make sure all tests pass and the code lints without errors.
Reporting Issues
- Use the GitHub issue tracker to report bugs or suggest features.
- Provide as much detail as possible, including steps to reproduce for bugs.
Thank you for contributing to DeepChopper!