diff --git a/.gitignore b/.gitignore index 3d70b96..493f6be 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,9 @@ # OS/editor noise .DS_Store .idea/ -.vscode/ +.vscode/* +!.vscode/settings.json +!.vscode/extensions.json # Local environment files .env diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..a584819 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["ms-python.python"] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..693b25c --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "python.defaultInterpreterPath": "${workspaceFolder}/python/.venv/bin/python" +} diff --git a/Makefile b/Makefile index f2c9fc7..b8ef363 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ buf-generate: $(BUF) generate py-sync: - uv sync --project python + uv sync --project python --all-packages go-test: cd clients/go && go test ./... diff --git a/pyrightconfig.json b/pyrightconfig.json new file mode 100644 index 0000000..1658f07 --- /dev/null +++ b/pyrightconfig.json @@ -0,0 +1,9 @@ +{ + "venvPath": "python", + "venv": ".venv", + "extraPaths": [ + "gen/python", + "python/packages/officeconvert/src", + "python/packages/server/src" + ] +}