From b8ce480f61b82d39b3c542812731c902fbf79487 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 7 Mar 2022 11:54:41 +1000 Subject: [PATCH] Don't warn about missing .py files in VS Code Our _pb2.py files are available at runtime, and we only need the .pyi files for editing. --- .vscode/settings.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 6793814bf..cf1f836b8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -9,6 +9,9 @@ "python.analysis.extraPaths": ["./pylib"], "python.formatting.provider": "black", "python.linting.mypyEnabled": false, + "python.analysis.diagnosticSeverityOverrides": { + "reportMissingModuleSource": "none" + }, "rust-analyzer.cargo.runBuildScripts": true, "rust-analyzer.checkOnSave.allTargets": false, "rust-analyzer.files.excludeDirs": [".bazel", "node_modules"],