Contributions are welcome, very little bit helps. You can contribute in many ways:
Report bugs at https://gitlab.pik-potsdam.de/swim/swimpy/issues
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.
Ready to contribute? Here's how to set up swimpy for local development.
Fork the swimpy repository on Gitlab.
Clone your fork locally:
$ git clone [email protected]:your_name_here/swimpy.git
Install your local copy into a virtualenv as described in :ref:`installation:Setup a Python environment` and :ref:`installation:Install from source`.
Create a branch for local development:
$ git checkout -b name-of-your-bugfix-or-feature
Now you can make your changes locally.
Commit your changes and push your branch to GitLab:
$ git add . $ git commit -m "Your detailed description of your changes." $ git push origin name-of-your-bugfix-or-feature
Submit a pull request through the GitLab website.
Before you submit a pull request, check that it meets these guidelines:
- The tests in
swimpy/tests
should pass without error in Python 2.7 and the latest stable Python 3 release. Consider adding tests for the additional code as well. - If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring. If a module is
added, a new file needs to be added to
docs/modules
and listed indocs/modules.rst
.