diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2022-01-19 10:08:24 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-01-23 08:00:39 +0100 |
commit | 87c8c5fd1bc7bf855d74ae37af947b292c262873 (patch) | |
tree | 4437894b4379c115d586e4e9173dfb9e3c411c7f | |
parent | 5ce309183788ebca1c501380bb72d73a02405d96 (diff) | |
download | searxng-87c8c5fd1bc7bf855d74ae37af947b292c262873.tar.gz searxng-87c8c5fd1bc7bf855d74ae37af947b292c262873.zip |
[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 <markus.heiser@darmarit.de>
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | pyrightconfig.json | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore index efea6c872..bacf9d7a9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -# to sync with .dockerignore +# to sync with .dockerignore & pyrightconfig.json *.pyc */*.pyc 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" + ] } |