Browse Source

[enh] add pyrightconfig.json

By adding this file Pyright automatically detects the
packages from our Python virtual environment.

This can be tested by using the Pyright extension
for VS Code or by running npx pyright.
Martin Fischer 3 years ago
parent
commit
5ce3091837
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pyrightconfig.json

+ 4 - 0
pyrightconfig.json

@@ -0,0 +1,4 @@
+{
+    "venvPath": "local",
+    "venv": "py3"
+}