| 1 |
{ |
| 2 |
"name": "Hass-NabuCasa Dev", |
| 3 |
"image": "mcr.microsoft.com/vscode/devcontainers/base:ubuntu", |
| 4 |
"postCreateCommand": "python3 -m pip install -e .[test]", |
| 5 |
"postStartCommand": "python3 -m pip install -e .", |
| 6 |
"containerUser": "vscode", |
| 7 |
"containerEnv": { |
| 8 |
"GIT_EDITOR": "code --wait" |
| 9 |
}, |
| 10 |
"features": { |
| 11 |
"ghcr.io/devcontainers/features/python:1": { |
| 12 |
"version": "3.14" |
| 13 |
}, |
| 14 |
"ghcr.io/anthropics/devcontainer-features/claude-code:1.0": {} |
| 15 |
}, |
| 16 |
"customizations": { |
| 17 |
"vscode": { |
| 18 |
"extensions": [ |
| 19 |
"charliermarsh.ruff", |
| 20 |
"esbenp.prettier-vscode", |
| 21 |
"ms-python.python", |
| 22 |
"ms-python.vscode-pylance", |
| 23 |
"visualstudioexptteam.vscodeintellicode" |
| 24 |
], |
| 25 |
"settings": { |
| 26 |
"python.pythonPath": "/usr/local/bin/python", |
| 27 |
"python.formatting.provider": "ruff", |
| 28 |
"editor.formatOnPaste": false, |
| 29 |
"editor.formatOnSave": true, |
| 30 |
"editor.formatOnType": true, |
| 31 |
"editor.defaultFormatter": "charliermarsh.ruff", |
| 32 |
"editor.rulers": [ |
| 33 |
88 |
| 34 |
], |
| 35 |
"editor.codeActionsOnSave": { |
| 36 |
"source.fixAll": "always", |
| 37 |
"source.organizeImports": "always" |
| 38 |
}, |
| 39 |
"files.trimTrailingWhitespace": true, |
| 40 |
"terminal.integrated.profiles.linux": { |
| 41 |
"zsh": { |
| 42 |
"path": "/usr/bin/zsh" |
| 43 |
} |
| 44 |
}, |
| 45 |
"terminal.integrated.defaultProfile.linux": "zsh" |
| 46 |
} |
| 47 |
} |
| 48 |
} |
| 49 |
} |