Contributing#
We welcome contributions to Coco-Pack! This guide will help you get started.
Development Setup#
Clone the repository:
git clone https://github.com/ColinConwell/Coco-Pack.git cd Coco-Pack
Install development dependencies:
pip install -e ".[dev]"
Install documentation dependencies:
pip install -e ".[docs]"
Coding Standards#
We use isort for import sorting
We use mypy for type checking
We use Black for code formatting
You can run these tools with:
# Format code
black python/cocopack
# Sort imports
isort python/cocopack
# Type checking
mypy python/cocopack
Testing#
We use pytest for testing. Run the tests with:
pytest
Pull Requests#
Fork the repository
Create a new branch
Make your changes
Run tests and linting
Submit a pull request
Please include:
A clear description of the changes
Tests for new functionality
Documentation updates if needed
Documentation#
To build the documentation locally:
cd docs
make html
Then open build/html/index.html in your browser.