mirror of
https://github.com/natekspencer/hacs-oasis_mini.git
synced 2025-11-08 05:03:52 -05:00
41 lines
1.2 KiB
JSON
41 lines
1.2 KiB
JSON
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
|
|
{
|
|
"name": "Home Assistant integration development",
|
|
"image": "mcr.microsoft.com/devcontainers/python:1-3.13-bookworm",
|
|
"postCreateCommand": "scripts/setup",
|
|
"postAttachCommand": "scripts/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,
|
|
"[python]": {
|
|
"editor.defaultFormatter": "charliermarsh.ruff"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"remoteUser": "vscode",
|
|
"features": {
|
|
"rust": "latest"
|
|
}
|
|
}
|