diff options
author | Martin Fischer <martin@push-f.com> | 2022-01-20 08:26:16 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-01-23 08:00:39 +0100 |
commit | 96450b17d4304a740c0af934cbb841de67178d94 (patch) | |
tree | 43213a9746d14fb407821e6a0c4770b4d55e8648 /pyrightconfig-ci.json | |
parent | 3cd5ce55e826a665c6113d5da8195aec9567631a (diff) | |
download | searxng-96450b17d4304a740c0af934cbb841de67178d94.tar.gz searxng-96450b17d4304a740c0af934cbb841de67178d94.zip |
[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.
Diffstat (limited to 'pyrightconfig-ci.json')
-rw-r--r-- | pyrightconfig-ci.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pyrightconfig-ci.json b/pyrightconfig-ci.json new file mode 100644 index 000000000..9082b0790 --- /dev/null +++ b/pyrightconfig-ci.json @@ -0,0 +1,10 @@ +{ + "venvPath": "local", + "venv": "py3", + "include": [ + "searx", + "searxng_extra", + "tests" + ], + "typeCheckingMode": "off" +} |