-
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 #3 from airtai/dev
Dev
- Loading branch information
Showing
45 changed files
with
2,041 additions
and
0 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,2 @@ | ||
PORT_PREFIX=${PORT_PREFIX} | ||
CONTAINER_PREFIX=${USER} |
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,57 @@ | ||
{ | ||
"name": "python-3.10", | ||
"dockerComposeFile": [ | ||
"./docker-compose.yml" | ||
], | ||
"service": "python-3.10", | ||
"forwardPorts": [], | ||
"shutdownAction": "stopCompose", | ||
"workspaceFolder": "/workspaces/weatherman", | ||
"remoteEnv": {}, | ||
"features": { | ||
"ghcr.io/devcontainers/features/common-utils:2": { | ||
"installZsh": true, | ||
"installOhMyZsh": true, | ||
"configureZshAsDefaultShell": true, | ||
"username": "vscode", | ||
"userUid": "1000", | ||
"userGid": "1000" | ||
}, | ||
"ghcr.io/devcontainers/features/node:1": {}, | ||
"ghcr.io/devcontainers/features/git:1": { | ||
"version": "latest", | ||
"ppa": true | ||
}, | ||
"ghcr.io/devcontainers/features/git-lfs:1": {}, | ||
"ghcr.io/robbert229/devcontainer-features/postgresql-client:1": {} | ||
}, | ||
"updateContentCommand": "bash .devcontainer/setup.sh", | ||
"postCreateCommand": [], | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"python.linting.enabled": true, | ||
"python.testing.pytestEnabled": true, | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": "always" | ||
}, | ||
"[python]": { | ||
"editor.defaultFormatter": "ms-python.vscode-pylance" | ||
}, | ||
"editor.rulers": [ | ||
80 | ||
] | ||
}, | ||
"extensions": [ | ||
"ms-python.python", | ||
"ms-toolsai.jupyter", | ||
"ms-toolsai.vscode-jupyter-cell-tags", | ||
"ms-toolsai.jupyter-keymap", | ||
"ms-toolsai.jupyter-renderers", | ||
"ms-toolsai.vscode-jupyter-slideshow", | ||
"ms-python.vscode-pylance" | ||
] | ||
} | ||
} | ||
} |
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,18 @@ | ||
version: '3' | ||
|
||
services: | ||
python-3.10: # nosemgrep | ||
image: mcr.microsoft.com/devcontainers/python:3.10 | ||
container_name: $USER-python-3.10-weatherman | ||
volumes: | ||
- ../../:/workspaces/weatherman:cached | ||
command: sleep infinity | ||
env_file: | ||
- ../devcontainer.env | ||
platform: linux/amd64 | ||
networks: | ||
- weatherman-network | ||
|
||
networks: | ||
weatherman-network: | ||
name: "${USER}-weatherman-network" |
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,57 @@ | ||
{ | ||
"name": "python-3.11", | ||
"dockerComposeFile": [ | ||
"./docker-compose.yml" | ||
], | ||
"service": "python-3.11", | ||
"forwardPorts": [], | ||
"shutdownAction": "stopCompose", | ||
"workspaceFolder": "/workspaces/weatherman", | ||
"remoteEnv": {}, | ||
"features": { | ||
"ghcr.io/devcontainers/features/common-utils:2": { | ||
"installZsh": true, | ||
"installOhMyZsh": true, | ||
"configureZshAsDefaultShell": true, | ||
"username": "vscode", | ||
"userUid": "1000", | ||
"userGid": "1000" | ||
}, | ||
"ghcr.io/devcontainers/features/node:1": {}, | ||
"ghcr.io/devcontainers/features/git:1": { | ||
"version": "latest", | ||
"ppa": true | ||
}, | ||
"ghcr.io/devcontainers/features/git-lfs:1": {}, | ||
"ghcr.io/robbert229/devcontainer-features/postgresql-client:1": {} | ||
}, | ||
"updateContentCommand": "bash .devcontainer/setup.sh", | ||
"postCreateCommand": [], | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"python.linting.enabled": true, | ||
"python.testing.pytestEnabled": true, | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": "always" | ||
}, | ||
"[python]": { | ||
"editor.defaultFormatter": "ms-python.vscode-pylance" | ||
}, | ||
"editor.rulers": [ | ||
80 | ||
] | ||
}, | ||
"extensions": [ | ||
"ms-python.python", | ||
"ms-toolsai.jupyter", | ||
"ms-toolsai.vscode-jupyter-cell-tags", | ||
"ms-toolsai.jupyter-keymap", | ||
"ms-toolsai.jupyter-renderers", | ||
"ms-toolsai.vscode-jupyter-slideshow", | ||
"ms-python.vscode-pylance" | ||
] | ||
} | ||
} | ||
} |
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,18 @@ | ||
version: '3' | ||
|
||
services: | ||
python-3.11: # nosemgrep | ||
image: mcr.microsoft.com/devcontainers/python:3.11 | ||
container_name: $USER-python-3.11-weatherman | ||
volumes: | ||
- ../../:/workspaces/weatherman:cached | ||
command: sleep infinity | ||
env_file: | ||
- ../devcontainer.env | ||
platform: linux/amd64 | ||
networks: | ||
- weatherman-network | ||
|
||
networks: | ||
weatherman-network: | ||
name: "${USER}-weatherman-network" |
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,57 @@ | ||
{ | ||
"name": "python-3.12", | ||
"dockerComposeFile": [ | ||
"./docker-compose.yml" | ||
], | ||
"service": "python-3.12", | ||
"forwardPorts": [], | ||
"shutdownAction": "stopCompose", | ||
"workspaceFolder": "/workspaces/weatherman", | ||
"remoteEnv": {}, | ||
"features": { | ||
"ghcr.io/devcontainers/features/common-utils:2": { | ||
"installZsh": true, | ||
"installOhMyZsh": true, | ||
"configureZshAsDefaultShell": true, | ||
"username": "vscode", | ||
"userUid": "1000", | ||
"userGid": "1000" | ||
}, | ||
"ghcr.io/devcontainers/features/node:1": {}, | ||
"ghcr.io/devcontainers/features/git:1": { | ||
"version": "latest", | ||
"ppa": true | ||
}, | ||
"ghcr.io/devcontainers/features/git-lfs:1": {}, | ||
"ghcr.io/robbert229/devcontainer-features/postgresql-client:1": {} | ||
}, | ||
"updateContentCommand": "bash .devcontainer/setup.sh", | ||
"postCreateCommand": [], | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"python.linting.enabled": true, | ||
"python.testing.pytestEnabled": true, | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": "always" | ||
}, | ||
"[python]": { | ||
"editor.defaultFormatter": "ms-python.vscode-pylance" | ||
}, | ||
"editor.rulers": [ | ||
80 | ||
] | ||
}, | ||
"extensions": [ | ||
"ms-python.python", | ||
"ms-toolsai.jupyter", | ||
"ms-toolsai.vscode-jupyter-cell-tags", | ||
"ms-toolsai.jupyter-keymap", | ||
"ms-toolsai.jupyter-renderers", | ||
"ms-toolsai.vscode-jupyter-slideshow", | ||
"ms-python.vscode-pylance" | ||
] | ||
} | ||
} | ||
} |
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,18 @@ | ||
version: '3' | ||
|
||
services: | ||
python-3.12: # nosemgrep | ||
image: mcr.microsoft.com/devcontainers/python:3.12 | ||
container_name: $USER-python-3.12-weatherman | ||
volumes: | ||
- ../../:/workspaces/weatherman:cached | ||
command: sleep infinity | ||
env_file: | ||
- ../devcontainer.env | ||
platform: linux/amd64 | ||
networks: | ||
- weatherman-network | ||
|
||
networks: | ||
weatherman-network: | ||
name: "${USER}-weatherman-network" |
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,57 @@ | ||
{ | ||
"name": "python-3.9", | ||
"dockerComposeFile": [ | ||
"./docker-compose.yml" | ||
], | ||
"service": "python-3.9", | ||
"forwardPorts": [], | ||
"shutdownAction": "stopCompose", | ||
"workspaceFolder": "/workspaces/weatherman", | ||
"remoteEnv": {}, | ||
"features": { | ||
"ghcr.io/devcontainers/features/common-utils:2": { | ||
"installZsh": true, | ||
"installOhMyZsh": true, | ||
"configureZshAsDefaultShell": true, | ||
"username": "vscode", | ||
"userUid": "1000", | ||
"userGid": "1000" | ||
}, | ||
"ghcr.io/devcontainers/features/node:1": {}, | ||
"ghcr.io/devcontainers/features/git:1": { | ||
"version": "latest", | ||
"ppa": true | ||
}, | ||
"ghcr.io/devcontainers/features/git-lfs:1": {}, | ||
"ghcr.io/robbert229/devcontainer-features/postgresql-client:1": {} | ||
}, | ||
"updateContentCommand": "bash .devcontainer/setup.sh", | ||
"postCreateCommand": [], | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"python.linting.enabled": true, | ||
"python.testing.pytestEnabled": true, | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": "always" | ||
}, | ||
"[python]": { | ||
"editor.defaultFormatter": "ms-python.vscode-pylance" | ||
}, | ||
"editor.rulers": [ | ||
80 | ||
] | ||
}, | ||
"extensions": [ | ||
"ms-python.python", | ||
"ms-toolsai.jupyter", | ||
"ms-toolsai.vscode-jupyter-cell-tags", | ||
"ms-toolsai.jupyter-keymap", | ||
"ms-toolsai.jupyter-renderers", | ||
"ms-toolsai.vscode-jupyter-slideshow", | ||
"ms-python.vscode-pylance" | ||
] | ||
} | ||
} | ||
} |
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,18 @@ | ||
version: '3' | ||
|
||
services: | ||
python-3.9: # nosemgrep | ||
image: mcr.microsoft.com/devcontainers/python:3.9 | ||
container_name: $USER-python-3.9-weatherman | ||
volumes: | ||
- ../../:/workspaces/weatherman:cached | ||
command: sleep infinity | ||
env_file: | ||
- ../devcontainer.env | ||
platform: linux/amd64 | ||
networks: | ||
- weatherman-network | ||
|
||
networks: | ||
weatherman-network: | ||
name: "${USER}-weatherman-network" |
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,8 @@ | ||
# update pip | ||
pip install --upgrade pip | ||
|
||
# install dev packages | ||
pip install -e ".[dev]" | ||
|
||
# install pre-commit hook if not installed already | ||
pre-commit install |
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,35 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: 'Bug:' | ||
labels: bug | ||
assignees: '' | ||
--- | ||
|
||
**Describe the bug** | ||
Provide a clear and concise description of the bug. | ||
|
||
**How to reproduce** | ||
Include source code: | ||
|
||
```python | ||
from weatherman.app import app | ||
... | ||
``` | ||
|
||
And/Or steps to reproduce the behavior: | ||
|
||
1. ... | ||
|
||
**Expected behavior** | ||
Explain what you expected to happen clearly and concisely. | ||
|
||
**Observed behavior** | ||
Describe what is actually happening clearly and concisely. | ||
|
||
**Screenshots** | ||
If applicable, attach screenshots to help illustrate the problem. | ||
|
||
|
||
**Additional context** | ||
Provide any other relevant context or information about the problem here. |
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,8 @@ | ||
blank_issues_enabled: true | ||
|
||
contact_links: | ||
- name: Security Contact | ||
about: Please report security vulnerabilities to [email protected] | ||
- name: Question or Problem | ||
about: Ask a question or ask about a problem in GitHub Discussions. | ||
url: https://github.com/airtai/weatherman/discussions/categories/questions |
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,29 @@ | ||
--- | ||
name: Feature Request | ||
about: Suggest an idea for this project | ||
title: 'Feature:' | ||
labels: enhancement | ||
assignees: '' | ||
--- | ||
|
||
To suggest an idea or inquire about a new Message Broker supporting feature or any other enhancement, please follow this template: | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
Provide a clear and concise description of the problem you've encountered. For example: "I'm always frustrated when..." | ||
|
||
**Describe the solution you'd like** | ||
Clearly and concisely describe the desired outcome or solution. | ||
|
||
**Feature code example** | ||
To help others understand the proposed feature, illustrate it with a **weatherman** code example: | ||
|
||
```python | ||
from weatherman.app import app | ||
... | ||
``` | ||
|
||
**Describe alternatives you've considered** | ||
Provide a clear and concise description of any alternative solutions or features you've thought about. | ||
|
||
**Additional context** | ||
Include any other relevant context or screenshots related to the feature request. |
Oops, something went wrong.