Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.39 KB

CONTRIBUTING.md

File metadata and controls

31 lines (22 loc) · 1.39 KB

Documentation

We strive for verbose and readable comments and docstrings. Our documentation follows the Numpy format. The hosted docs are automatically generated using Sphinx.

Contributor git workflow:

We follow a standard feature branch rebase workflow that prioritizes short PRs with isolated improvements. Commits to main should only be made in the form of squash-merges from pull requests. For example,

git checkout feature-branch
git add [files to be committed]
git commit -m 'Change summary'

later, some new commits show up in main, so we rebase our branch

git pull --rebase origin main
git push -f feature-branch

now, we have completed our feature, so we create a PR to merge the branch into main

Once the PR is approved, we perform a final rebase, if necessary, and then a squash merge. This means each PR results in a single commit to main.

If two people are working in a branch then you should git pull --rebase origin feature-branch before git push origin feature-branch. We also recommend that you start each working session with a pull and end it with a push, so that your colleagues can work asynchronously while you are not.