Skip to content

Contributor's Guide

Teagan King edited this page Sep 5, 2024 · 7 revisions

Welcome to the CUPiD Contributor's Guide!

If you would like to add a diagnostics notebook, you can follow this guide to adding diagnostics notebooks

In order to contribute code to this repository, we recommend that you get started with these steps:

  1. Open an issue prior to development
  2. Set up git
  3. Create a fork
  4. Check out a new branch
  5. Make your edits
  6. Merge in recent changes from master
  7. Run pre-commit run --all-files locally to ensure that your code is properly formatted*
  8. IF updating github.io pages, test with the steps listed below, otherwise proceed to #8:
    • $ conda activate cupid-docs
    • $ cd docs
    • $ make html
    • $ open _build/html/index.html
  9. Submit a Pull Request
  10. Await review
  11. Update PR with any requested changes
  12. Repository admins will merge the PR
  13. Add your name to our contributors.md file to make sure we recognize your contributions!

* Better yet, running pre-commit install will configure git to automatically run the pre-commit checks when you try to commit changes; the commit will only proceed if all the checks pass

Clone this wiki locally