From b6a164f90bea16c4be4df2b400b361e9cbc8e5d6 Mon Sep 17 00:00:00 2001 From: Anuraag Agrawal Date: Fri, 3 Jul 2026 11:56:06 +0900 Subject: [PATCH] Add VSCode workspace --- protovalidate-python.code-workspace | 50 +++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 protovalidate-python.code-workspace diff --git a/protovalidate-python.code-workspace b/protovalidate-python.code-workspace new file mode 100644 index 0000000..d536246 --- /dev/null +++ b/protovalidate-python.code-workspace @@ -0,0 +1,50 @@ +{ + "folders": [ + { + "name": "/", + "path": ".", + }, + ], + "extensions": { + "recommendations": [ + "bufbuild.vscode-buf", + "charliermarsh.ruff", + "esbenp.prettier-vscode", + "github.vscode-github-actions", + "ms-python.python", + "ms-python.vscode-pylance", + "tombi-toml.tombi", + ], + }, + "settings": { + "editor.formatOnSave": true, + "files.insertFinalNewline": true, + "python.analysis.typeCheckingMode": "basic", + "python.defaultInterpreterPath": "${workspaceFolder:/}/.venv/bin/python", + "python.testing.pytestEnabled": true, + "python.testing.pytestArgs": ["test"], + "python.testing.unittestEnabled": false, + "[github-actions-workflow]": { + "editor.formatOnSave": true, + "editor.defaultFormatter": "esbenp.prettier-vscode", + }, + "debugpy.debugJustMyCode": false, + "[python]": { + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll": "explicit", + "source.organizeImports": "explicit", + }, + "editor.defaultFormatter": "charliermarsh.ruff", + }, + "[json][jsonc]": { + "editor.formatOnSave": true, + "editor.defaultFormatter": "esbenp.prettier-vscode", + }, + "yaml.format.enable": false, + "[yaml]": { + "editor.formatOnSave": true, + "editor.defaultFormatter": "esbenp.prettier-vscode", + }, + }, +}