From b267df2e7d24ca709653f4f67b6a95117bd9a359 Mon Sep 17 00:00:00 2001 From: ollo69 Date: Sat, 19 Oct 2024 20:43:48 +0000 Subject: [PATCH] Fix devcontainer python path --- .devcontainer/devcontainer.json | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index db9e84c5..bf9d08d1 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,9 +2,7 @@ "name": "SmartThinQ Sensors Component", "dockerFile": "../Dockerfile.dev", "postCreateCommand": "scripts/setup", - "forwardPorts": [ - 8123 - ], + "forwardPorts": [8123], "portsAttributes": { "8123": { "label": "Home Assistant", @@ -26,10 +24,8 @@ "settings": { "files.eol": "\n", "editor.tabSize": 4, - "python.pythonPath": "/usr/bin/python3", - "python.testing.pytestArgs": [ - "--no-cov" - ], + "python.pythonPath": "/usr/local/bin/python", + "python.testing.pytestArgs": ["--no-cov"], "python.analysis.autoSearchPaths": false, "editor.formatOnPaste": false, "editor.formatOnSave": true, @@ -47,8 +43,5 @@ } } }, - "remoteUser": "vscode", - "features": { - "rust": "latest" - } -} \ No newline at end of file + "remoteUser": "vscode" +}