-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from AlanPearl/2-contributing
Contributing guidelines
- Loading branch information
Showing
6 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Contributing to `diffopt` | ||
|
||
Thank you for your interest in contributing to this project. All questions and ideas for improvement are welcome and can be made through opening an issue or pull request. | ||
|
||
Before contributing, familiarize yourself with our resources: | ||
|
||
- [Source Code](https://github.com/AlanPearl/diffopt) | ||
- [Documentation](https://diffopt.readthedocs.io) | ||
|
||
## Issues | ||
|
||
You can open an [issue](https://github.com/AlanPearl/diffopt/issues) if you: | ||
|
||
- Have encountered a bug or issue when using the software | ||
- Would like to see a new feature | ||
- Are seeking support that could not be resolved by reading the documentation | ||
|
||
## Pull Requests | ||
|
||
If you would like to directly submit your own change to the software, thank you! Here's how: | ||
|
||
- Fork [this repository](https://github.com/AlanPearl/diffopt). | ||
- Please remember to include a concise, self-contained unit test in your pull request. Ensure that all tests pass (see [Manual Testing](#manual-testing)). | ||
- Open a [pull request](https://github.com/AlanPearl/diffopt/pulls). | ||
|
||
## Manual Testing | ||
|
||
Make sure you have installed diffopt as described in the [docs](https://diffopt.readthedocs.io/en/latest/installation.html). To run all tests from the main directory: | ||
|
||
```bash | ||
pip install pytest | ||
pytest . | ||
mpirun -n 2 pytest . | ||
``` | ||
|
||
Note that unit tests requiring `mpi4py` installation are not automatically tested by GitHub workflows. Therefore, running these tests manually with `mpi4py` installed is necessary to assure that all tests pass. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
sphinx_rtd_theme | ||
nbsphinx | ||
myst_parser | ||
IPython | ||
matplotlib | ||
seaborn | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.. include:: ../../CONTRIBUTING.md | ||
:parser: myst_parser.sphinx_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters