Contributing¶
Development Setup¶
git clone https://github.com/OWI-Lab/owi-metadatabase-shm-sdk.git
cd owi-metadatabase-shm-sdk
uv sync --all-packages --all-extras --all-groups
Code Style¶
The project uses ruff for formatting and linting (120-char lines) and ty for type checking:
Running Tests¶
This runs pytest with coverage and doctests enabled.
Pre-commit Hooks¶
Install the hooks once:
Pull Request Workflow¶
- Create a feature branch from
main. - Make your changes with tests.
- Ensure
uv run inv qa.allanduv run inv test.allpass. - Execute both root notebooks with
uv run jupyter nbconvert --to notebook --execute .... - Open a PR against
main.