SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[mod] add test.pyright to test & ci.test targets
Martin Fischer96450b17d430
diff --git a/Makefile b/Makefileindex 3f46d109c..0c0ec6c0a 100644--- a/Makefile+++ b/Makefile@@ -50,8 +50,8 @@ search.checker.%: install$(Q)./manage pyenv.cmd searx-checker -v "$(subst _, ,$(patsubst search.checker.%,%,$@))"PHONY += test ci.test test.shell-ci.test: test.yamllint test.black test.pylint test.unit test.robot test.rst-test: test.yamllint test.black test.pylint test.unit test.robot test.rst test.shell+ci.test: test.yamllint test.black test.pyright test.pylint test.unit test.robot test.rst+test: test.yamllint test.black test.pyright test.pylint test.unit test.robot test.rst test.shelltest.shell:$(Q)shellcheck -x -s dash \dockerfiles/docker-entrypoint.shdiff --git a/manage b/manageindex 0c0e851c7..aec3906df 100755--- a/manage+++ b/manage@@ -689,7 +689,7 @@ test.pyright() {nodejs.ensure# We run Pyright in the virtual environment because Pyright# executes "python" to determine the Python version.- pyenv.cmd pyright+ pyenv.cmd pyright -p pyrightconfig-ci.jsondump_return $?}diff --git a/pyrightconfig-ci.json b/pyrightconfig-ci.jsonnew file mode 100644index 000000000..9082b0790--- /dev/null+++ b/pyrightconfig-ci.json@@ -0,0 +1,10 @@+{+ "venvPath": "local",+ "venv": "py3",+ "include": [+ "searx",+ "searxng_extra",+ "tests"+ ],+ "typeCheckingMode": "off"+}