From 0e4ea510b864d450cf415f5d1575557eebe40eea Mon Sep 17 00:00:00 2001 From: Jonas Karlsson Date: Sat, 7 Jan 2023 23:03:00 +0100 Subject: [PATCH] Updated devcontainer. --- .devcontainer/devcontainer.json | 3 ++- .vscode/settings.json | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 3389409..2bd4432 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -11,7 +11,8 @@ "ms-python.python", "github.vscode-pull-request-github", "ryanluker.vscode-coverage-gutters", - "ms-python.vscode-pylance" + "ms-python.vscode-pylance", + "donjayamanne.githistory" ], "settings": { "files.eol": "\n", diff --git a/.vscode/settings.json b/.vscode/settings.json index c9f40fa..6adeb7b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,14 +1,14 @@ { "python.linting.pylintEnabled": true, "python.linting.enabled": true, - "python.pythonPath": "/usr/local/bin/python", + "python.defaultInterpreterPath": "/usr/bin/python", "files.associations": { "*.yaml": "home-assistant" }, + "python.testing.cwd": "/workspaces/ev_smart_charging/tests", "python.testing.pytestArgs": [ "--cov-report=html:cov_html", - "--cov=custom_components.ev_smart_charging", - "tests" + "--cov=custom_components.ev_smart_charging" ], "python.testing.unittestEnabled": false, "python.testing.pytestEnabled": true