Contributing#
Thank you for your interest in contributing!
Development Setup#
- Install pre-commit hooks:
pixi r pcupdate # optionally bump hooks to latest versions first
pixi r lint # installs hooks and runs them across the repo
Commit Messages#
This project uses Conventional Commits. All commit messages must follow this format:
Types#
| Type | When to use | Changelog section |
|---|---|---|
feat |
A new feature | Added |
fix |
A bug fix | Fixed |
perf |
A performance improvement | Changed |
refactor |
Code restructuring, no behavior change | Changed |
revert |
Reverting a previous commit | Fixed |
docs |
Documentation only | (skipped) |
test |
Adding or updating tests | (skipped) |
chore |
Maintenance, dependencies, tooling | (skipped) |
ci |
CI/CD changes | (skipped) |
Breaking Changes#
Append ! after the type, or add BREAKING CHANGE: in the footer:
Examples#
feat(osm): add support for railway layer
fix: handle missing CRS in bbox reprojection
chore: bump ruff to v0.15.5
docs: add example notebook for water_body fetch
Running Tests#
Type Checking#
Documentation#
Managing the Changelog#
The changelog is maintained by git-cliff and generated automatically from conventional commit messages.
Submitting Changes#
- Fork the repository.
- Create a feature branch.
- Make your changes with tests.
- Ensure all checks pass.
- Submit a pull request.