Skip to content

Commit

Permalink
Update devcontainer to support latest Python
Browse files Browse the repository at this point in the history
  • Loading branch information
MTrab committed Feb 21, 2024
1 parent 912b985 commit 459dd1f
Showing 1 changed file with 43 additions and 41 deletions.
84 changes: 43 additions & 41 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,45 @@
{
"name": "ludeeus/integration_blueprint",
"image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.11-bullseye",
"postCreateCommand": "scripts/setup",
"appPort": [
"9129:8123"
],
"portsAttributes": {
"8123": {
"label": "Home Assistant - Webasto Connect",
"onAutoForward": "notify"
}
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"github.vscode-pull-request-github",
"ryanluker.vscode-coverage-gutters",
"ms-python.vscode-pylance",
"ms-python.black-formatter"
],
"settings": {
"files.eol": "\n",
"editor.tabSize": 4,
"python.pythonPath": "/usr/bin/python3",
"python.analysis.autoSearchPaths": false,
"python.linting.pylintEnabled": true,
"python.linting.enabled": true,
"python.formatting.provider": "black",
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true
}
}
},
"remoteUser": "root",
"features": {
"ghcr.io/devcontainers/features/rust:1": {}
}
"name": "ludeeus/integration_blueprint",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"postCreateCommand": "scripts/setup",
"appPort": [
"9129:8123"
],
"portsAttributes": {
"8123": {
"label": "Home Assistant - Webasto Connect",
"onAutoForward": "notify"
}
},
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"github.vscode-pull-request-github",
"ryanluker.vscode-coverage-gutters",
"ms-python.vscode-pylance"
],
"settings": {
"files.eol": "\n",
"editor.tabSize": 4,
"terminal.integrated.shell.linux": "/bin/bash",
"python.defaultInterpreterPath": "/usr/bin/python3",
"python.analysis.autoSearchPaths": false,
"python.linting.pylintEnabled": true,
"python.linting.enabled": true,
"python.formatting.provider": "black",
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true
}
}
},
"remoteUser": "root",
"features": {
"ghcr.io/devcontainers/features/rust:1": {},
"ghcr.io/devcontainers/features/python:1": {
"version": "latest"
}
}
}

0 comments on commit 459dd1f

Please sign in to comment.