summaryrefslogtreecommitdiff
path: root/pyrightconfig.json
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-01-18 15:38:17 +0100
committerMartin Fischer <martin@push-f.com>2022-01-23 08:00:39 +0100
commit5ce309183788ebca1c501380bb72d73a02405d96 (patch)
treece6d7c8c8dbe8b1601fda5925a122c3007778671 /pyrightconfig.json
parent382f4f8fb081699fc3a3d8d7b1ee7546156506fa (diff)
[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.
Diffstat (limited to 'pyrightconfig.json')
-rw-r--r--pyrightconfig.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyrightconfig.json b/pyrightconfig.json
new file mode 100644
index 00000000..33e94f25
--- /dev/null
+++ b/pyrightconfig.json
@@ -0,0 +1,4 @@
+{
+ "venvPath": "local",
+ "venv": "py3"
+}