2019-06-23 21:18:33 +02:00
|
|
|
{
|
2019-09-04 01:02:42 +02:00
|
|
|
"name": "Home Assistant Dev",
|
|
|
|
"context": "..",
|
|
|
|
"dockerFile": "../Dockerfile.dev",
|
2021-02-08 16:16:40 +01:00
|
|
|
"postCreateCommand": "script/setup",
|
|
|
|
"postStartCommand": "script/bootstrap",
|
2024-04-11 07:26:30 +02:00
|
|
|
"containerEnv": {
|
|
|
|
"DEVCONTAINER": "1",
|
|
|
|
"PYTHONASYNCIODEBUG": "1"
|
|
|
|
},
|
2024-01-24 19:00:57 +01:00
|
|
|
// Port 5683 udp is used by Shelly integration
|
|
|
|
"appPort": ["8123:8123", "5683:5683/udp"],
|
2019-10-17 17:06:33 +02:00
|
|
|
"runArgs": ["-e", "GIT_EDITOR=code --wait"],
|
2023-07-20 13:11:43 +02:00
|
|
|
"customizations": {
|
|
|
|
"vscode": {
|
|
|
|
"extensions": [
|
2023-11-16 23:10:33 +01:00
|
|
|
"charliermarsh.ruff",
|
|
|
|
"ms-python.pylint",
|
2023-07-20 13:11:43 +02:00
|
|
|
"ms-python.vscode-pylance",
|
|
|
|
"visualstudioexptteam.vscodeintellicode",
|
|
|
|
"redhat.vscode-yaml",
|
|
|
|
"esbenp.prettier-vscode",
|
|
|
|
"GitHub.vscode-pull-request-github"
|
|
|
|
],
|
|
|
|
// Please keep this file in sync with settings in home-assistant/.vscode/settings.default.json
|
|
|
|
"settings": {
|
2024-03-25 11:25:46 +01:00
|
|
|
"python.experiments.optOutFrom": ["pythonTestAdapter"],
|
2023-07-20 13:11:43 +02:00
|
|
|
"python.pythonPath": "/usr/local/bin/python",
|
|
|
|
"python.testing.pytestArgs": ["--no-cov"],
|
|
|
|
"editor.formatOnPaste": false,
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
"editor.formatOnType": true,
|
|
|
|
"files.trimTrailingWhitespace": true,
|
|
|
|
"terminal.integrated.profiles.linux": {
|
|
|
|
"zsh": {
|
|
|
|
"path": "/usr/bin/zsh"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"terminal.integrated.defaultProfile.linux": "zsh",
|
|
|
|
"yaml.customTags": [
|
|
|
|
"!input scalar",
|
|
|
|
"!secret scalar",
|
|
|
|
"!include_dir_named scalar",
|
|
|
|
"!include_dir_list scalar",
|
|
|
|
"!include_dir_merge_list scalar",
|
|
|
|
"!include_dir_merge_named scalar"
|
|
|
|
],
|
2023-11-27 14:38:59 +01:00
|
|
|
"[python]": {
|
2023-07-20 13:11:43 +02:00
|
|
|
"editor.defaultFormatter": "charliermarsh.ruff"
|
2023-11-27 14:38:59 +01:00
|
|
|
}
|
2021-08-21 21:46:24 +02:00
|
|
|
}
|
2023-07-20 13:11:43 +02:00
|
|
|
}
|
2019-09-04 01:02:42 +02:00
|
|
|
}
|
|
|
|
}
|