37 lines
1.3 KiB
JSON
37 lines
1.3 KiB
JSON
{
|
|
"name": "Supervisor dev",
|
|
"image": "ghcr.io/home-assistant/devcontainer:supervisor",
|
|
"appPort": ["9123:8123", "7357:4357"],
|
|
"postCreateCommand": "bash devcontainer_bootstrap",
|
|
"runArgs": ["-e", "GIT_EDITOR=code --wait", "--privileged"],
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-python.vscode-pylance",
|
|
"visualstudioexptteam.vscodeintellicode",
|
|
"esbenp.prettier-vscode"
|
|
],
|
|
"settings": {
|
|
"terminal.integrated.profiles.linux": {
|
|
"zsh": {
|
|
"path": "/usr/bin/zsh"
|
|
}
|
|
},
|
|
"terminal.integrated.defaultProfile.linux": "zsh",
|
|
"editor.formatOnPaste": false,
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnType": true,
|
|
"files.trimTrailingWhitespace": true,
|
|
"python.pythonPath": "/usr/local/bin/python3",
|
|
"python.linting.pylintEnabled": true,
|
|
"python.linting.enabled": true,
|
|
"python.formatting.provider": "black",
|
|
"python.formatting.blackArgs": ["--target-version", "py39"],
|
|
"python.formatting.blackPath": "/usr/local/bin/black",
|
|
"python.linting.banditPath": "/usr/local/bin/bandit",
|
|
"python.linting.flake8Path": "/usr/local/bin/flake8",
|
|
"python.linting.mypyPath": "/usr/local/bin/mypy",
|
|
"python.linting.pylintPath": "/usr/local/bin/pylint",
|
|
"python.linting.pydocstylePath": "/usr/local/bin/pydocstyle"
|
|
}
|
|
}
|