mirror of
https://github.com/searxng/searxng.git
synced 2024-11-28 13:51:01 +00:00
[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>
This commit is contained in:
parent
5ce3091837
commit
87c8c5fd1b
2 changed files with 7 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,4 +1,4 @@
|
||||||
# to sync with .dockerignore
|
# to sync with .dockerignore & pyrightconfig.json
|
||||||
|
|
||||||
*.pyc
|
*.pyc
|
||||||
*/*.pyc
|
*/*.pyc
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
{
|
{
|
||||||
"venvPath": "local",
|
"venvPath": "local",
|
||||||
"venv": "py3"
|
"venv": "py3",
|
||||||
|
"include": [
|
||||||
|
"searx",
|
||||||
|
"searxng_extra",
|
||||||
|
"tests"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue