-
Notifications
You must be signed in to change notification settings - Fork 23
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:
- Open an issue prior to development
- Set up git
- Create a fork
- Check out a new branch
- Make your edits
- Merge in recent changes from master
- Run
pre-commit run --all-files
locally to ensure that your code is properly formatted* - 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
- Submit a Pull Request
- Await review
- Update PR with any requested changes
- Repository admins will merge the PR
- 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