summaryrefslogtreecommitdiff
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
parent382f4f8fb081699fc3a3d8d7b1ee7546156506fa (diff)
downloadsearxng-5ce309183788ebca1c501380bb72d73a02405d96.tar.gz
searxng-5ce309183788ebca1c501380bb72d73a02405d96.zip
[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.
-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 000000000..33e94f253
--- /dev/null
+++ b/pyrightconfig.json
@@ -0,0 +1,4 @@
+{
+ "venvPath": "local",
+ "venv": "py3"
+}