diff options
author | Joris Roovers <joris.roovers@gmail.com> | 2023-02-08 08:50:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 08:50:25 +0000 |
commit | ccbb5e923a8f13463acdb9e0a197afa3f25d84c0 (patch) | |
tree | a0ce523ff0fb35d68d94594d0196b1ee7eab0e55 | |
parent | ad0dfae525fb036747ff99d68fdcc4228022d15d (diff) |
Devcontainer improvements (#428)
Added extra extensions, configured black.
-rw-r--r-- | .devcontainer/devcontainer.json | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index fcf85c7..65fcc1c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -22,6 +22,11 @@ "settings": { "python.defaultInterpreterPath": "/usr/local/bin/python", "python.linting.enabled": true, + "python.formatting.provider": "black", + "python.formatting.blackArgs": [ + "--config", + "./pyproject.toml" + ], "python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8", "python.formatting.blackPath": "/usr/local/py-utils/bin/black", "python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf", @@ -34,7 +39,9 @@ // Add the IDs of extensions you want installed when the container is created. "extensions": [ "ms-python.python", - "ms-python.vscode-pylance" + "ms-python.vscode-pylance", + "charliermarsh.ruff", + "tamasfe.even-better-toml" ] } }, |