mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-04-23 12:47:16 +00:00
30 lines
679 B
JSON
30 lines
679 B
JSON
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
|
|
{
|
|
"name": "Hass.io dev",
|
|
"context": "..",
|
|
"dockerFile": "Dockerfile",
|
|
"appPort": "9123:8123",
|
|
"runArgs": [
|
|
"-e",
|
|
"GIT_EDITOR=\"code --wait\"",
|
|
"--privileged"
|
|
],
|
|
"extensions": [
|
|
"ms-python.python"
|
|
],
|
|
"settings": {
|
|
"python.pythonPath": "/usr/local/bin/python",
|
|
"python.linting.pylintEnabled": true,
|
|
"python.linting.enabled": true,
|
|
"python.formatting.provider": "black",
|
|
"python.formatting.blackArgs": [
|
|
"--target-version",
|
|
"py37"
|
|
],
|
|
"editor.formatOnPaste": false,
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnType": true,
|
|
"files.trimTrailingWhitespace": true
|
|
}
|
|
}
|