11{
22 "name" : " custom-components/readme" ,
3- "image" : " mcr.microsoft.com/vscode/devcontainers/python:0-3.10-bullseye" ,
4- "remoteUser" : " vscode" ,
5- "context" : " ." ,
6- "forwardPorts" : [
7- " 9123:8123"
8- ],
3+ "image" : " mcr.microsoft.com/devcontainers/python:3.12" ,
94 "postCreateCommand" : " scripts/setup" ,
10- "extensions " : [
11- " ms-python.python "
5+ "forwardPorts " : [
6+ 8123
127 ],
13- "settings" : {
14- "files.eol" : " \n " ,
15- "editor.tabSize" : 4 ,
16- "python.pythonPath" : " /usr/local/bin/python" ,
17- "python.analysis.autoSearchPaths" : false ,
18- "python.linting.pylintEnabled" : true ,
19- "python.linting.enabled" : true ,
20- "python.formatting.provider" : " black" ,
21- "editor.formatOnPaste" : false ,
22- "editor.formatOnSave" : true ,
23- "editor.formatOnType" : true ,
24- "files.trimTrailingWhitespace" : true
25- }
8+ "portsAttributes" : {
9+ "8123" : {
10+ "label" : " Home Assistant" ,
11+ "onAutoForward" : " notify"
12+ }
13+ },
14+ "customizations" : {
15+ "vscode" : {
16+ "extensions" : [
17+ " ms-python.python"
18+ ],
19+ "settings" : {
20+ "files.eol" : " \n " ,
21+ "editor.tabSize" : 4 ,
22+ "editor.formatOnPaste" : true ,
23+ "editor.formatOnSave" : true ,
24+ "editor.formatOnType" : false ,
25+ "files.trimTrailingWhitespace" : true ,
26+ "python.formatting.provider" : " black" ,
27+ "python.analysis.typeCheckingMode" : " basic" ,
28+ "python.analysis.autoImportCompletions" : true ,
29+ "python.defaultInterpreterPath" : " /usr/local/bin/python"
30+ }
31+ }
32+ },
33+ "remoteUser" : " vscode" ,
34+ "features" : {}
2635}
0 commit comments