From 704a40875e318fff6c11d3f3481df9be11b6f46c Mon Sep 17 00:00:00 2001 From: Rob Hammond <13874373+RHammond2@users.noreply.github.com> Date: Fri, 8 Nov 2024 09:32:05 -0800 Subject: [PATCH] Revert "Enhancement: Update issue and PR templates (#35)" This reverts commit a0cc8175bdc8790702918e4a0e90b9bc93f1657a. --- .github/ISSUE_TEMPLATE/bug_report.md | 110 +++++++++--------- .github/ISSUE_TEMPLATE/feature_request.md | 61 ++++++---- .github/PULL_REQUEST_TEMPLATE.md | 94 ++++++++------- .github/workflows/ci.yml | 23 +++- README.md | 2 +- docs/install.md | 2 +- environment.yml | 2 +- greenheart/tools/eco/electrolysis.py | 2 - greenheart/tools/optimization/openmdao.py | 90 -------------- pyproject.toml | 1 + .../test_h2_transport/test_h2_compressor.py | 2 +- 11 files changed, 163 insertions(+), 226 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index b10d33a7..ca5ae94a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -6,73 +6,77 @@ labels: "Type: Bug" --- +This template contains guidance for your submission within the < ! - -, - - > blocks. +These are comments in HTML syntax and will not appear in the submission. +Be sure to use the "Preview" feature on GitHub to ensure your submission is formatted as intended. - -# Add meaningful title here +When including code snippets, please paste the text itself and wrap the code block with +ticks (see the other character on the tilde ~ key in a US keyboard) to format it as code. +For example, Python code should be wrapped in ticks like this: +```python +def a_func(): + return 1 - +a = 1 +b = a_func() +print(a + b) +``` +This is preferred over screen shots since it is searchable and others can copy/paste +the text to run it. +--> +# Add meaningful title here + ## How to reproduce - - - + ## Relevant output + - - +## GreenHEART version + ## System Information -- OS: - -- Python version: <3.10.4> - -- GreenHEART version: <0.1.1> - - - - - Commit hash: - - -### Relevant library versions - - - | Package | Version | - | ------- | ------- | - | hopp | <3.1.1> | - | numpy | <1.26.4> | - | Pyomo | <6.8.0> | - | scipy | <1.14.1> | - | | | + - OS: + - Python version: + - Relevant library versions, from the results of `pip freeze`, for example: + - FLORIS + - HOPP + - matplotlib + - NREL-PySAM + - numpy + - numexpr + - orbit-nrel + - pandas + - scipy + - shapely diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index d7635a0b..221ab53c 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -6,41 +6,52 @@ labels: 'Type: Enhancement' --- - # Add meaningful title here - - - + ## Proposed solution - - - + ## Alternatives considered - - - + ## Additional context - - + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index c9f89c71..dca3531e 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -2,71 +2,69 @@ - -# Add meaningful title here - - - - -## PR Checklist - -- [ ] `CHANGELOG.md` has been updated to describe the changes made in this PR -- [ ] Documentation - - [ ] Docstrings are up-to-date - - [ ] Related `docs/` files are up-to-date, or added when necessary - - [ ] Documentation has been rebuilt successfully - - [ ] Examples have been updated -- [ ] Tests pass (If not, and this is expected, please elaborate in the tests section) -- [ ] PR description thoroughly describes the new feature, bug fix, etc. - -## Related issues - - +# Add meaningful title here + +Describe your feature here. +## Related issue + ## Impacted areas of the software - -- `path/to/file.extension` - - `method1`: What and why something was changed in one sentence or less. ## Additional supporting information - - - + ## Test results, if applicable - -