// See https://aka.ms/vscode-remote/devcontainer.json for format details. { "name": "Home Assistant integration development", "image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye", "postCreateCommand": "sudo apt-get update && sudo apt-get install libturbojpeg0", "postAttachCommand": ".devcontainer/setup", "forwardPorts": [8123], "customizations": { "vscode": { "extensions": [ "ms-python.python", "ms-python.vscode-pylance", "esbenp.prettier-vscode", "github.vscode-pull-request-github", "ryanluker.vscode-coverage-gutters", "charliermarsh.ruff" ], "settings": { "files.eol": "\n", "editor.tabSize": 4, "python.pythonPath": "/usr/bin/python3", "python.analysis.autoSearchPaths": false, "editor.formatOnPaste": false, "editor.formatOnSave": true, "editor.formatOnType": true, "editor.codeActionsOnSave": { "source.organizeImports": "always" }, "files.trimTrailingWhitespace": true } } }, "remoteUser": "vscode", "features": { "rust": "latest" } }