Use debian based devcontainer (#44)

This commit is contained in:
Joakim Sørensen 2020-11-14 14:28:32 +01:00 committed by GitHub
parent f2b72debbe
commit bf76923975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 9 deletions

View File

@ -1,7 +1,6 @@
default_config: default_config:
logger: logger:
default: error default: info
logs: logs:
custom_components.blueprint: debug custom_components.blueprint: debug

View File

@ -1,25 +1,24 @@
// See https://aka.ms/vscode-remote/devcontainer.json for format details. // 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": "..", "context": "..",
"appPort": [ "appPort": [
"9123:8123" "9123:8123"
], ],
"postCreateCommand": "container install", "postCreateCommand": "container install",
"runArgs": [
"-v",
"${env:HOME}${env:USERPROFILE}/.ssh:/tmp/.ssh"
],
"extensions": [ "extensions": [
"ms-python.python", "ms-python.python",
"github.vscode-pull-request-github", "github.vscode-pull-request-github",
"tabnine.tabnine-vscode" "ryanluker.vscode-coverage-gutters",
"ms-python.vscode-pylance"
], ],
"settings": { "settings": {
"files.eol": "\n", "files.eol": "\n",
"editor.tabSize": 4, "editor.tabSize": 4,
"terminal.integrated.shell.linux": "/bin/bash", "terminal.integrated.shell.linux": "/bin/bash",
"python.pythonPath": "/usr/bin/python3", "python.pythonPath": "/usr/bin/python3",
"python.analysis.autoSearchPaths": false,
"python.linting.pylintEnabled": true, "python.linting.pylintEnabled": true,
"python.linting.enabled": true, "python.linting.enabled": true,
"python.formatting.provider": "black", "python.formatting.provider": "black",

3
.gitignore vendored
View File

@ -1 +1,2 @@
__pycache__ __pycache__
pythonenv*