From 3f54b663c174e44abf7a72c2110acc65515cd33b Mon Sep 17 00:00:00 2001 From: drc38 <20024196+drc38@users.noreply.github.com> Date: Mon, 9 Sep 2024 21:48:54 +1200 Subject: [PATCH] update to latest blueprint dev container (#1316) --- .devcontainer.json | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.devcontainer.json b/.devcontainer.json index 457e49d9..476f704c 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -1,7 +1,7 @@ { "name": "lbbrhzn/ocpp", - "image": "mcr.microsoft.com/devcontainers/python:3.12-bullseye", - "onCreateCommand": "scripts/setup", + "image": "mcr.microsoft.com/devcontainers/python:3.12", + "postCreateCommand": "scripts/setup", "forwardPorts": [ 8123 ], @@ -14,28 +14,28 @@ "customizations": { "vscode": { "extensions": [ - "ms-python.python", + "charliermarsh.ruff", "github.vscode-pull-request-github", - "ryanluker.vscode-coverage-gutters", + "ms-python.python", "ms-python.vscode-pylance", - "ms-python.pylint" + "ryanluker.vscode-coverage-gutters" ], "settings": { "files.eol": "\n", "editor.tabSize": 4, - "python.pythonPath": "/usr/bin/python3", - "python.analysis.autoSearchPaths": false, - "python.formatting.provider": "black", - "python.formatting.blackPath": "/usr/local/py-utils/bin/black", - "editor.formatOnPaste": false, + "editor.formatOnPaste": true, "editor.formatOnSave": true, - "editor.formatOnType": true, - "files.trimTrailingWhitespace": true + "editor.formatOnType": false, + "files.trimTrailingWhitespace": true, + "python.analysis.typeCheckingMode": "basic", + "python.analysis.autoImportCompletions": true, + "python.defaultInterpreterPath": "/usr/local/bin/python", + "[python]": { + "editor.defaultFormatter": "charliermarsh.ruff" + } } } }, "remoteUser": "vscode", - "features": { - "ghcr.io/devcontainers/features/rust:1": {} - } + "features": {} } \ No newline at end of file