Contributing¶
Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
You can contribute in many ways:
Types of Contributions¶
Report Bugs¶
Report bugs as a new issue.
If you are reporting a bug, please include:
Your operating system name and version.
Any details about your local setup that might be helpful in troubleshooting.
Detailed steps to reproduce the bug.
Write Documentation¶
Magpie could always use more documentation, whether as part of the official Magpie docs, in docstrings, or even on the web in blog posts, articles, and such.
Get Started!¶
Ready to contribute? Here’s how to set up magpie for local development.
Clone the repository
git clone https://github.com/Ouranosinc/Magpie
Install your local copy (see installation)
When you’re done making changes, check that your changes pass code formatting and tests:
make lint make test
Commit your changes and push your branch to GitHub.
Submit a pull request to the author (tests will run to evaluate that everything still works).
Pull Request Guidelines¶
Before you submit a pull request, check that it meets these guidelines:
The pull request should include tests.
If the pull request adds functionality, the docs should be updated. Put your new functionality into a function with a docstring, and add the feature to the list in changes (under relevant category of section Unreleased).
The tests should work for the specified version of Python for this project.