From 5ce309183788ebca1c501380bb72d73a02405d96 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Tue, 18 Jan 2022 15:38:17 +0100 Subject: [PATCH] [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. --- pyrightconfig.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 pyrightconfig.json 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" +}