From 25647c20d1904840d089892bb118390f46c66984 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 31 Jul 2025 13:45:16 +0200 Subject: [mod] switching from pyright to basedpyright (plus first rules) pyrightconfig.json : for the paths searx, searxng_extra and tests, individual rules were defined (for example, in test fewer / different rules are needed than in the searx package searx/engines/__builtins__.pyi : The builtin types that are added to the global namespace of a module by the intended monkey patching of the engine modules / replaces the previous filtering of the stdout using grep. test.pyright_modified (utils/lib_sxng_test.sh) : static type check of local modified files not yet commited make test : prerequisite 'test.pyright' has been replaced by 'test.pyright_modified' searx/engines/__init__.py, searx/enginelib/__init__.py : First, minimal typifications that were considered necessary. --- requirements-dev.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'requirements-dev.txt') diff --git a/requirements-dev.txt b/requirements-dev.txt index ea97688b8..5e6012322 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -22,3 +22,4 @@ coloredlogs==15.0.1 docutils>=0.21.2 parameterized==0.9.0 granian[reload]==2.5.0 +basedpyright==1.31.0 -- cgit v1.2.3