From 87c8c5fd1bc7bf855d74ae37af947b292c262873 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Wed, 19 Jan 2022 10:08:24 +0100 Subject: [fix] pyrightconfig.json include only dedicated folders in the test Without specifying folders to check, pyright will also scan files in folders like ./build, ./cache, ./.nvm and more. Signed-off-by: Markus Heiser --- pyrightconfig.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'pyrightconfig.json') diff --git a/pyrightconfig.json b/pyrightconfig.json index 33e94f253..56573c75f 100644 --- a/pyrightconfig.json +++ b/pyrightconfig.json @@ -1,4 +1,9 @@ { "venvPath": "local", - "venv": "py3" + "venv": "py3", + "include": [ + "searx", + "searxng_extra", + "tests" + ] } -- cgit v1.2.3-54-g00ecf