Contributing¶
Development Setup¶
git clone https://github.com/OWI-Lab/owi-metadatabase-soil-sdk.git
cd owi-metadatabase-soil-sdk
uv sync --dev
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:
Hooks run ruff format/check, ty, and pytest automatically.
Pull Request Workflow¶
- Create a feature branch from
main. - Make your changes with tests.
- Ensure
uv run inv qaanduv run inv testpass. - Open a PR against
main.