Skip to content

Commit b267df2

Browse files
committed
Fix devcontainer python path
1 parent 1011b02 commit b267df2

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"name": "SmartThinQ Sensors Component",
33
"dockerFile": "../Dockerfile.dev",
44
"postCreateCommand": "scripts/setup",
5-
"forwardPorts": [
6-
8123
7-
],
5+
"forwardPorts": [8123],
86
"portsAttributes": {
97
"8123": {
108
"label": "Home Assistant",
@@ -26,10 +24,8 @@
2624
"settings": {
2725
"files.eol": "\n",
2826
"editor.tabSize": 4,
29-
"python.pythonPath": "/usr/bin/python3",
30-
"python.testing.pytestArgs": [
31-
"--no-cov"
32-
],
27+
"python.pythonPath": "/usr/local/bin/python",
28+
"python.testing.pytestArgs": ["--no-cov"],
3329
"python.analysis.autoSearchPaths": false,
3430
"editor.formatOnPaste": false,
3531
"editor.formatOnSave": true,
@@ -47,8 +43,5 @@
4743
}
4844
}
4945
},
50-
"remoteUser": "vscode",
51-
"features": {
52-
"rust": "latest"
53-
}
54-
}
46+
"remoteUser": "vscode"
47+
}

0 commit comments

Comments
 (0)