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] manage test.pyright: a commandline to run pyright tests
Markus Heiser834277321648
diff --git a/Makefile b/Makefileindex 9d49e8d5f..3f46d109c 100644--- a/Makefile+++ b/Makefile@@ -86,7 +86,7 @@ MANAGE += py.build py.cleanMANAGE += pyenv pyenv.install pyenv.uninstallMANAGE += pypi.upload pypi.upload.testMANAGE += format.python-MANAGE += test.yamllint test.pylint test.black test.unit test.coverage test.robot test.rst test.clean+MANAGE += test.yamllint test.pylint test.pyright test.black test.unit test.coverage test.robot test.rst test.cleanMANAGE += themes.all themes.oscar themes.simple themes.simple.test pygments.lessMANAGE += static.build.commit static.build.drop static.build.restoreMANAGE += nvm.install nvm.clean nvm.status nvm.nodejsdiff --git a/manage b/manageindex 1f4ffa53b..b70e81f52 100755--- a/manage+++ b/manage@@ -103,6 +103,7 @@ format.:test.:yamllint : lint YAML files (YAMLLINT_FILES)pylint : lint PYLINT_FILES, searx/engines, searx & tests+ pyright : static type check of python sourcesblack : check black code formatunit : run unit testscoverage : run unit tests with coverage@@ -682,6 +683,15 @@ test.pylint() {dump_return $?}++test.pyright() {+ build_msg TEST "[pyright] static type check of python sources"+ nodejs.ensure+ pyenv.cmd pyright+ dump_return $?+}++test.black() {build_msg TEST "[black] \$BLACK_TARGETS"pyenv.cmd black --check --diff "${BLACK_OPTIONS[@]}" "${BLACK_TARGETS[@]}"