aioesphomeapi/.devcontainer/devcontainer.json

39 lines
1.2 KiB
JSON
Raw Normal View History

2022-11-15 01:49:36 +01:00
{
"name": "ESPHome API Client Dev",
"image": "ghcr.io/esphome/aioesphomeapi-proto-builder:latest",
"extensions": [
"ms-python.python",
"visualstudioexptteam.vscodeintellicode",
// yaml
"redhat.vscode-yaml",
// editorconfig
"editorconfig.editorconfig",
// protobuf
"pbkit.vscode-pbkit"
],
"postCreateCommand": "pip3 install -e .",
2022-11-15 01:49:36 +01:00
"settings": {
"python.languageServer": "Pylance",
"python.pythonPath": "/usr/bin/python3",
"python.linting.pylintEnabled": true,
"python.linting.enabled": true,
"python.formatting.provider": "black",
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true,
"terminal.integrated.defaultProfile.linux": "bash",
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"**/*.pyc": {
"when": "$(basename).py"
},
"**/__pycache__": true
},
"files.associations": {
"**/.vscode/*.json": "jsonc"
}
}
}