-
Notifications
You must be signed in to change notification settings - Fork 11
Community guidelines
Welcome ! We appreciate very much your interest in using and or contributing to hytool
and hope that it will help you interpreting hydrogeological data.
hytool
contains a rather large number of analytical solutions for the interpretation of hydraulic tests around wells. But there are still many solutions that are not available because of limited times to code them. Extending the code to other analytical solutions or to include tracer tests would be very much appreciated.
A translation of the code in python or Julia is also a project that is pending. Some preliminary atempts have been made in Python and in R, but they are still incomplete and some contributions from the community could be very valuable to all.
The simplest to use hytool
is to follow the installation procedure and to look at the basic example in the matlab documentation.
The preferred workflow for contributing to hytool
is to fork the
hytool repository <https://github.com/UniNE-CHYN/hytool>
_ on
GitHub, clone, and develop on a branch. Steps:
-
Fork the
array_split repository <https://github.com/array-split/array_split>
_ by clicking on the 'Fork' button near the top right of the page. This creates a copy of the code under your GitHub user account. For more details on how to fork a repository seethis guide <https://help.github.com/articles/fork-a-repo/>
_. -
Clone your fork of the
array_split
repo from your GitHub account to your local disk::$ git clone git@github.com:YourLogin/array_split.git $ cd array_split
-
Create a
feature
branch to hold your development changes::$ git checkout -b my-feature
Always use a
feature
branch. It's good practice to never work on themaster
branch! -
Develop the feature on your feature branch. Add changed files using
git add
and thengit commit
files::$ git add modified_files $ git commit
to record your changes in Git, then push the changes to your GitHub account with::
$ git push -u origin my-feature
-
Follow
these instructions <https://help.github.com/articles/creating-a-pull-request-from-a-fork>
_ to create a pull request from your fork. This will send an email to the committers.
(If any of the above seems like magic to you, please look up the
Git documentation <https://git-scm.com/documentation>
_ online.
-
Unit test new code using python
unittest <https://docs.python.org/3/library/unittest.html>
_ framework. -
Ensure
unittest <https://docs.python.org/3/library/unittest.html>
_ coverage is good (>90%
) by using thecoverage <https://pypi.python.org/pypi/coverage>
_ tool::$ coverage run --source=array_split --omit='logging,unittest,rtd' -m array_split.tests $ coverage report -m
-
Ensure style by using
autopep8 <https://pypi.python.org/pypi/autopep8>
_ andflake8 <https://pypi.python.org/pypi/flake8>
_ compliance::$ autopep8 -r -i -a --max-line-length=100 array_split $ flake8 array_split
-
Use docstrings for API documentation and ensure that it builds with sphinx (without warnings) and renders correctly::
$ python setup.py build_sphinx
produces top level html file
docs/_build/html/index.html
.
array_split
adheres to the
Python Code Quality Authority’s Code of Conduct <http://meta.pycqa.org/en/latest/code-of-conduct.html>
_.