Contributing
We welcome contributions to VelOT! This page describes how to set up a development environment and submit changes.
Development Installation
git clone https://github.com/lucas-rdlr/velot.git
cd velot
conda create -n velot-dev python=3.10 -y
conda activate velot-dev
# Install PyTorch (adjust for your CUDA version)
pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
# Install VelOT in editable mode with dev dependencies
pip install -e ".[dev,docs]"
Running Tests
pytest tests/ -v
Code Style
We follow standard Python conventions:
Type hints for all public functions
NumPy-style docstrings
Line length ≤ 88 characters (Black formatter)
black velot/
flake8 velot/
Building Documentation Locally
cd docs
make html
# Open _build/html/index.html in your browser
Reporting Issues
Please report bugs and feature requests on the GitHub issue tracker.
Submitting Changes
Fork the repository
Create a feature branch (
git checkout -b feature/my-feature)Commit your changes with clear messages
Push to your fork and open a Pull Request
Describe what your PR does and link any relevant issues
Note
For major changes, please open an issue first to discuss the proposed modification.