diff --git a/.devcontainer.json b/.devcontainer.json index 794a96c..730cf7c 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -13,6 +13,7 @@ "vscode": { "extensions": [ "ms-python.python", + "charliermarsh.ruff", "github.vscode-pull-request-github", "ryanluker.vscode-coverage-gutters", "ms-python.vscode-pylance" @@ -22,8 +23,6 @@ "editor.tabSize": 4, "python.pythonPath": "/usr/bin/python3", "python.analysis.autoSearchPaths": false, - "python.linting.pylintEnabled": true, - "python.linting.enabled": true, "python.formatting.provider": "black", "python.formatting.blackPath": "/usr/local/py-utils/bin/black", "editor.formatOnPaste": false, @@ -33,8 +32,5 @@ } } }, - "remoteUser": "vscode", - "features": { - "ghcr.io/devcontainers/features/rust:1": {} - } + "remoteUser": "vscode" } diff --git a/.vscode/launch.json b/.vscode/launch.json index cc5337a..5efd584 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,10 +5,8 @@ { // Example of attaching to local debug server "name": "Python: Attach Local", - "type": "python", + "type": "debugpy", "request": "attach", - "port": 5678, - "host": "localhost", "pathMappings": [ { "localRoot": "${workspaceFolder}", @@ -19,10 +17,8 @@ { // Example of attaching to my production server "name": "Python: Attach Remote", - "type": "python", + "type": "debugpy", "request": "attach", - "port": 5678, - "host": "homeassistant.local", "pathMappings": [ { "localRoot": "${workspaceFolder}",