mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[mod] add test.pyright to test & ci.test targets
Since we currently have many type checking errors,
we for now only test with typeCheckingMode: off
which makes pyright only check files that contain a comment:
# pyright: basic
to enable basic type checking, or
# pyright: strict
to enable strict type checking.
This commit is contained in:
parent
3cd5ce55e8
commit
96450b17d4
3 changed files with 13 additions and 3 deletions
10
pyrightconfig-ci.json
Normal file
10
pyrightconfig-ci.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"venvPath": "local",
|
||||
"venv": "py3",
|
||||
"include": [
|
||||
"searx",
|
||||
"searxng_extra",
|
||||
"tests"
|
||||
],
|
||||
"typeCheckingMode": "off"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue