From bf76923975e8c422acb97cfef3e75757c83a6785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Sat, 14 Nov 2020 14:28:32 +0100 Subject: [PATCH] Use debian based devcontainer (#44) --- .devcontainer/configuration.yaml | 3 +-- .devcontainer/devcontainer.json | 11 +++++------ .gitignore | 3 ++- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.devcontainer/configuration.yaml b/.devcontainer/configuration.yaml index ca8e841..a34c090 100644 --- a/.devcontainer/configuration.yaml +++ b/.devcontainer/configuration.yaml @@ -1,7 +1,6 @@ default_config: logger: - default: error + default: info logs: custom_components.blueprint: debug - diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index b024ad2..fab8c1f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,25 +1,24 @@ // See https://aka.ms/vscode-remote/devcontainer.json for format details. { - "image": "ludeeus/container:integration", + "image": "ludeeus/container:integration-debian", + "name": "Blueprint integration development", "context": "..", "appPort": [ "9123:8123" ], "postCreateCommand": "container install", - "runArgs": [ - "-v", - "${env:HOME}${env:USERPROFILE}/.ssh:/tmp/.ssh" - ], "extensions": [ "ms-python.python", "github.vscode-pull-request-github", - "tabnine.tabnine-vscode" + "ryanluker.vscode-coverage-gutters", + "ms-python.vscode-pylance" ], "settings": { "files.eol": "\n", "editor.tabSize": 4, "terminal.integrated.shell.linux": "/bin/bash", "python.pythonPath": "/usr/bin/python3", + "python.analysis.autoSearchPaths": false, "python.linting.pylintEnabled": true, "python.linting.enabled": true, "python.formatting.provider": "black", diff --git a/.gitignore b/.gitignore index ed8ebf5..bbbf65d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -__pycache__ \ No newline at end of file +__pycache__ +pythonenv* \ No newline at end of file