mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-29 21:03:40 +00:00
update devcontainer
This commit is contained in:
parent
eeff264ae7
commit
3f777d76eb
1 changed files with 27 additions and 4 deletions
|
|
@ -2,6 +2,9 @@
|
||||||
"name": "jpawlowski/hass.tibber_prices",
|
"name": "jpawlowski/hass.tibber_prices",
|
||||||
"image": "mcr.microsoft.com/devcontainers/python:3.13",
|
"image": "mcr.microsoft.com/devcontainers/python:3.13",
|
||||||
"postCreateCommand": "scripts/setup",
|
"postCreateCommand": "scripts/setup",
|
||||||
|
"containerEnv": {
|
||||||
|
"PYTHONASYNCIODEBUG": "1"
|
||||||
|
},
|
||||||
"forwardPorts": [
|
"forwardPorts": [
|
||||||
8123
|
8123
|
||||||
],
|
],
|
||||||
|
|
@ -17,19 +20,38 @@
|
||||||
"charliermarsh.ruff",
|
"charliermarsh.ruff",
|
||||||
"github.vscode-pull-request-github",
|
"github.vscode-pull-request-github",
|
||||||
"ms-python.python",
|
"ms-python.python",
|
||||||
|
"ms-python.pylint",
|
||||||
"ms-python.vscode-pylance",
|
"ms-python.vscode-pylance",
|
||||||
"ryanluker.vscode-coverage-gutters"
|
"ryanluker.vscode-coverage-gutters",
|
||||||
|
"visualstudioexptteam.vscodeintellicode",
|
||||||
|
"redhat.vscode-yaml",
|
||||||
|
"esbenp.prettier-vscode",
|
||||||
|
"github.copilot",
|
||||||
|
"ms-vscode-remote.remote-containers"
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
"files.eol": "\n",
|
|
||||||
"editor.tabSize": 4,
|
"editor.tabSize": 4,
|
||||||
"editor.formatOnPaste": true,
|
"editor.formatOnPaste": false,
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"editor.formatOnType": false,
|
"editor.formatOnType": true,
|
||||||
|
"files.eol": "\n",
|
||||||
"files.trimTrailingWhitespace": true,
|
"files.trimTrailingWhitespace": true,
|
||||||
"python.analysis.typeCheckingMode": "basic",
|
"python.analysis.typeCheckingMode": "basic",
|
||||||
"python.analysis.autoImportCompletions": true,
|
"python.analysis.autoImportCompletions": true,
|
||||||
"python.defaultInterpreterPath": "/usr/local/bin/python",
|
"python.defaultInterpreterPath": "/usr/local/bin/python",
|
||||||
|
"pylint.importStrategy": "fromEnvironment",
|
||||||
|
"python.terminal.activateEnvInCurrentTerminal": true,
|
||||||
|
"python.testing.pytestArgs": [
|
||||||
|
"--no-cov"
|
||||||
|
],
|
||||||
|
"yaml.customTags": [
|
||||||
|
"!input scalar",
|
||||||
|
"!secret scalar",
|
||||||
|
"!include_dir_named scalar",
|
||||||
|
"!include_dir_list scalar",
|
||||||
|
"!include_dir_merge_list scalar",
|
||||||
|
"!include_dir_merge_named scalar"
|
||||||
|
],
|
||||||
"[python]": {
|
"[python]": {
|
||||||
"editor.defaultFormatter": "charliermarsh.ruff"
|
"editor.defaultFormatter": "charliermarsh.ruff"
|
||||||
}
|
}
|
||||||
|
|
@ -38,6 +60,7 @@
|
||||||
},
|
},
|
||||||
"remoteUser": "vscode",
|
"remoteUser": "vscode",
|
||||||
"features": {
|
"features": {
|
||||||
|
"ghcr.io/devcontainers/features/github-cli:1": {},
|
||||||
"ghcr.io/devcontainers-extra/features/apt-packages:1": {
|
"ghcr.io/devcontainers-extra/features/apt-packages:1": {
|
||||||
"packages": [
|
"packages": [
|
||||||
"ffmpeg",
|
"ffmpeg",
|
||||||
Loading…
Reference in a new issue