Skip to content

Commit

Permalink
Sync with template
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Apr 11, 2024
1 parent c8f58dd commit f1b9fb2
Show file tree
Hide file tree
Showing 46 changed files with 1,415 additions and 298 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
_commit: fb65219
_commit: 03ec47f
_src_path: gh:blakeNaccarato/copier-python
actions_runner: ubuntu-22.04
active: false
Expand Down
59 changes: 46 additions & 13 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,38 @@
{
"name": "devcontainer",
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"postCreateCommand": "pwsh scripts/Sync-Py.ps1",
"postAttachCommand": "pwsh scripts/Sync-Py.ps1",
"image": "mcr.microsoft.com/devcontainers/base:1.0.22-ubuntu-22.04",
"features": {
"ghcr.io/devcontainers/features/powershell:1.3.4": {
"version": "7.4.1"
},
"ghcr.io/devcontainers/features/python:1.4.2": {
"version": "3.11"
},
"ghcr.io/devcontainers/features/desktop-lite:1.0.8": {
"noVncVersion": "1.4.0"
},
"ghcr.io/dhoeric/features/google-cloud-cli:1.0.1": {
"version": "470.0.0"
},
"ghcr.io/joshuanianji/devcontainer-features/gcloud-cli-persistence:1.0.3": {}
},
"onCreateCommand": {
"set-up-profile": [
"pwsh",
"-Command",
"New-Item -Force $PROFILE && Copy-Item scripts/Initialize-Shell.ps1 $PROFILE"
]
},
"postCreateCommand": {
"sync-py-in-codespace": [
"pwsh",
"-Command",
"if (Test-Path /.codespaces) { scripts/Sync-Py.ps1 }"
]
},
"postAttachCommand": {
"sync-py": ["pwsh", "scripts/Sync-Py.ps1"]
},
"containerEnv": {
"DEVCONTAINER": "1",
"PIP_DISABLE_PIP_VERSION_CHECK": "1",
Expand All @@ -12,17 +42,7 @@
"PYTHONWARNDEFAULTENCODING": "1",
"PYTHONWARNINGS": "ignore"
},
"features": {
"ghcr.io/devcontainers/features/powershell:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/python:1": {
"version": "3.11",
"installTools": false
}
},
"customizations": {
"codespaces": {},
"vscode": {
"settings": {
"notebook.experimental.remoteSave": true,
Expand All @@ -36,6 +56,7 @@
},
"extensions": [
"aaron-bond.better-comments@3.0.2",
"bierner.markdown-mermaid@1.22.0",
"bierner.markdown-preview-github-styles@2.0.4",
"charliermarsh.ruff@2024.16.0",
"davidanson.vscode-markdownlint@0.54.0",
Expand All @@ -44,12 +65,24 @@
"esbenp.prettier-vscode@10.4.0",
"executablebookproject.myst-highlight@0.11.0",
"github.codespaces@1.16.17",
"GitHub.remotehub@0.62.0",
"github.vscode-github-actions@0.26.2",
"github.vscode-pull-request-github@0.80.1",
"ms-azuretools.vscode-docker@1.29.0",
"ms-python.debugpy@2024.2.0",
"ms-python.python@2024.2.1",
"ms-python.vscode-pylance@2024.3.2",
"ms-toolsai.jupyter@2024.1.1",
"ms-vscode-remote.remote-containers@0.353.0",
"njpwerner.autodocstring@0.6.1",
"redhat.vscode-yaml@1.14.0",
"rodolphebarbanneau.python-docstring-highlighter@0.2.3",
"ryanluker.vscode-coverage-gutters@2.11.1",
"sourcery.sourcery@1.16.0",
"stkb.rewrap@1.16.3",
"TakumiI.markdowntable@0.11.0",
"tamasfe.even-better-toml@0.19.2",
"yy0931.mplstyle@1.14.3",
"yzhang.markdown-all-in-one@3.6.2"
]
}
Expand Down
54 changes: 54 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: "Bug report"
description: "Report a bug"
labels: ["bug"]
body:
- type: "checkboxes"
id: "no-duplicate-issues"
attributes:
label: "Please check that this bug hasn't been reported before"
options:
- required: True
label: "I searched previous bug reports [here](https://github.com/blakeNaccarato/c-therm-tci/issues?q=label%3Abug+sort%3Acomments-desc) or [here](https://github.com/search?q=repo%3AblakeNaccarato/c-therm-tci+label%3Abug&type=issues) and didn't find any similar reports."
- type: "checkboxes"
id: "latest-version"
attributes:
label: "Please confirm that this bug affects the latest version"
description: "Please verify the issue is present in the latest version by installing it with `pip install c_therm_tci==0.0.0` and checking. If you have other issues or questions about earlier versions, please visit the [Q&A](https://github.com/blakeNaccarato/c-therm-tci/discussions/new?category=q-a)."
options:
- required: True
label: "This bug affects version `0.0.0` of `c_therm_tci`."
- type: "checkboxes"
id: "operating-systems"
attributes:
label: "Please indicate which operating system(s) you are using"
description: "You may select more than one"
options:
- label: "Linux"
- label: "macOS"
- label: "Windows"
- type: "textarea"
id: "expected"
validations:
required: True
attributes:
label: "Expected Behavior"
description: "Please explain what **should** happen"
- type: "textarea"
id: "what-happened"
attributes:
label: "Current behaviour"
description: "Please explain what happens instead of the expected behavior"
validations:
required: True
- type: "textarea"
id: "reproduce"
validations:
required: True
attributes:
label: "Steps to reproduce"
description: "Please provide steps that would allow someone to reproduce the issue"
- type: "textarea"
id: "possible-solution"
attributes:
label: "Possible solution"
description: "Please suggest a possible fix or any ideas you may have about the root cause"
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: "Ask a question"
url: "https://github.com/blakeNaccarato/c-therm-tci/discussions/new?category=q-a"
about: "Ask for help. Please search related Q&As in case your question has been asked before."
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Feature request"
description: "Request a new feature"
labels: ["enhancement"]
body:
- type: "checkboxes"
id: "no-duplicate-issues"
attributes:
label: "Please check that this feature hasn't been requested before"
options:
- required: True
label: "I searched previous feature requests [here](https://github.com/blakeNaccarato/c-therm-tci/issues?q=label%3Aenhancement+sort%3Acomments-desc) or [here](https://github.com/search?q=repo%3AblakeNaccarato/c-therm-tci+label%3Aenhancement&type=issues) and didn't find any similar requests."
- type: "textarea"
id: "feature-description"
validations:
required: True
attributes:
label: "Feature description"
description: "Please describe your requested feature"
- type: "textarea"
id: "possible-solution"
attributes:
label: "Possible implementation"
description: "Please provide a few details as to how this feature might be implemented"
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/ideas-for-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Documentation request"
description: "Request documentation improvements"
labels: ["docs"]
body:
- type: "checkboxes"
id: "no-duplicate-issues"
attributes:
label: "Please check that this documentation improvement hasn't been requested before"
options:
- required: True
label: "I searched previous documentation improvement requests [here](https://github.com/blakeNaccarato/c-therm-tci/issues?q=label%3Adocs+sort%3Acomments-desc) or [here](https://github.com/search?q=repo%3AblakeNaccarato/c-therm-tci+label%3Adocs&type=issues) and didn't find any similar requests."
- type: "textarea"
id: "feature-description"
validations:
required: True
attributes:
label: "Documentation enhancement description"
description: "Please describe your requested documentation enhancement"
- type: "textarea"
id: "possible-solution"
attributes:
label: "Possible solution"
description: "Please provide a few details as to how this documentation enhancement might be implemented"
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/infrastructure-change.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Infrastructure change"
description: "Report infrastructure or other development concerns"
labels: ["infra"]
body:
- type: "checkboxes"
id: "usage"
attributes:
label: "Please only use this form for changes to tooling, non-feature refactoring, dependency updates, and other infrastructure concerns."
options:
- required: True
label: "This request is about infrastructure. It is not about a bug report, feature request, or documentation suggestion."
- type: "textarea"
id: "description"
validations:
required: True
attributes:
label: "Description"
description: "Please describe the change."
- type: "textarea"
id: "possible-solution"
attributes:
label: "Steps"
description: "Please describe the steps to making this change."
27 changes: 27 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!--- Provide a general summary of your changes in the Title above -->
<!--- If you're unsure about any of the below, don't hesitate to ask. We're here to help! -->

# Description

<!--- Describe your changes in detail -->

## Motivation and context

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## Test plan

<!--- Please describe in detail how you tested your changes. -->

## Checklist

- [ ] My code follows this project's code style.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] My change is adequately tested.

## Terms

- [ ] My contribution follows the [contributing guide](https://github.com/blakeNaccarato/c-therm-tci/blob/main/CONTRIBUTING.md).
- [ ] I agree to follow the [code of conduct](https://github.com/blakeNaccarato/c-therm-tci/blob/main/CODE_OF_CONDUCT.md).
6 changes: 5 additions & 1 deletion .github/workflows/changerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ defaults:
shell: "pwsh"
jobs:
changerelease:
strategy:
matrix:
runner: ["ubuntu-22.04"]
python: ["3.11"]
permissions:
contents: "write"
runs-on: "ubuntu-22.04"
runs-on: "${{ matrix.runner }}"
steps:
- uses: "dropseed/changerelease@3b121c9e98fa055f59a32b023cb4fd2325f4d9dc" # v1.6.0
with:
Expand Down
Loading

0 comments on commit f1b9fb2

Please sign in to comment.