Contributing to HydroGenerate#
Thank you for your interest in contributing to HydroGenerate! We welcome contributions of all kinds—bug reports, feature requests, documentation improvements, and code enhancements.
This guide will help you get started.
How to Contribute#
Fork the repository and clone it locally:
git clone https://github.com/YOUR-USERNAME/HydroGenerate.git cd HydroGenerate
Create a new branch for your feature or fix:
git checkout -b feature/your-feature-name
Make your changes, commit, and push:
git add . git commit -m "ENH: Add new feature description" git push origin feature/your-feature-name
Open a Pull Request on GitHub and describe your changes clearly.
Development Setup#
We recommend using conda for environment management:
conda create --name hg-env python=3.10
conda activate hg-env
pip install -e HydroGenerate
Submitting a Pull Request#
Use clear and descriptive commit messages.
Prefix PR titles with:
ENH:for enhancementsBUG:for bug fixesDOC:for documentationTST:for testsCLN:for cleanup
Link to any related issues using
Closes #issue_number.Ensure your branch is up to date with
mainbefore submitting.
Feature Requests#
We welcome ideas to improve HydroGenerate! If you have a feature in mind:
Search existing issues to see if it’s already been proposed.
If not, open a new issue.
Clearly describe:
The problem you’re trying to solve
Why it’s important
A possible solution or implementation idea (if you have one)
We encourage discussion and feedback from the community before implementation.
Documentation Improvements#
Improving documentation is a great way to contribute!
You can help by:
Fixing typos or grammar
Clarifying examples or explanations
Adding new usage examples or tutorials
Improving docstrings in the code
To contribute:
Make your edits in the appropriate
.mdor.pyfiles.Follow the same process as for code contributions (fork, branch, PR).
Preview your changes locally if possible.
Style Guide#
Follow PEP8 for Python code.
Community#
We encourage open discussion and collaboration. If you have questions or ideas:
Open an issue
Join our discussions (if applicable)
Reach out via GitHub
References#