-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
110 additions
and
71 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.. _contribute_label: | ||
|
||
============ | ||
Contributing | ||
============ | ||
|
@@ -45,23 +47,27 @@ To set up `oemof-solph` for local development: | |
|
||
git clone [email protected]:oemof/oemof-solph.git | ||
|
||
3. Create a branch for local development:: | ||
3. Install oemof.solph in editable mode with dev dependencies:: | ||
|
||
pip install -e ./path/to/local/clone[dev] | ||
|
||
4. Create a branch for local development:: | ||
|
||
git checkout -b name-of-your-bugfix-or-feature | ||
|
||
Now you can make your changes locally. | ||
|
||
4. When you're done making changes run all the checks and docs builder with `tox <https://tox.wiki/en/latest/installation.html>`_ one command:: | ||
5. When you're done making changes run all the checks and docs builder with `tox <https://tox.wiki/en/latest/installation.html>`_ one command:: | ||
|
||
tox | ||
|
||
5. Commit your changes and push your branch to GitHub:: | ||
6. Commit your changes and push your branch to GitHub:: | ||
|
||
git add . | ||
git commit -m "Your detailed description of your changes." | ||
git push origin name-of-your-bugfix-or-feature | ||
|
||
6. Submit a pull request through the GitHub website. | ||
7. Submit a pull request through the GitHub website. | ||
|
||
Pull Request Guidelines | ||
----------------------- | ||
|
@@ -80,7 +86,6 @@ For merging, you should: | |
It will be slower though ... | ||
Tests | ||
----- | ||
|
||
|
@@ -105,7 +110,6 @@ Note, to combine the coverage data from all the tox environments run: | |
|
||
PYTEST_ADDOPTS=--cov-append tox | ||
|
||
|
||
Tips | ||
---- | ||
|
||
|
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,3 @@ | ||
.. _tespy_label: | ||
|
||
.. include:: introduction.rst | ||
|
||
.. toctree:: | ||
|
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