Contributing¶
Contributions to lvm_tools are welcome. This guide describes the development workflow and contribution process.
Development Setup¶
Clone the repository and install in development mode:
Or using uv:
Code Style¶
This project uses:
- Ruff for linting and formatting
- Line length of 99 characters
- Type hints throughout
Run the linter:
Testing¶
Tests are run with pytest:
Documentation¶
The documentation is Markdown in docs/, built with MkDocs Material. Preview it locally with live reload:
and open the address it prints. mkdocs build --strict checks it as CI does.
Pull Requests¶
- Fork the repository
- Create a feature branch from
main - Make your changes
- Add tests for new functionality
- Update documentation as needed
- Submit a pull request
Commit Messages¶
Use clear, descriptive commit messages:
feat: Add support for multiple wavelength rangesfix: Handle NaN values in LSF arraydocs: Update installation instructionsrefactor: Simplify normalisation logic
Reporting Issues¶
Report bugs and request features through GitHub Issues.
When reporting bugs, include:
- Python version
- Package versions (
pip freeze) - Minimal reproducible example
- Full error traceback
Contact¶
For questions, contact the maintainer at Thomas.Hilder@monash.edu.