Loading manage +2 −1 Original line number Diff line number Diff line Loading @@ -698,7 +698,8 @@ test.pyright() { | grep -v '/engines/.*.py.* - warning: "logger" is not defined'\ | grep -v '/plugins/.*.py.* - error: "logger" is not defined'\ | grep -v '/engines/.*.py.* - warning: "supported_languages" is not defined' \ | grep -v '/engines/.*.py.* - warning: "language_aliases" is not defined' | grep -v '/engines/.*.py.* - warning: "language_aliases" is not defined' \ | grep -v '/engines/.*.py.* - warning: "categories" is not defined' dump_return $? } Loading searx/compat.py +4 −1 Original line number Diff line number Diff line Loading @@ -7,8 +7,11 @@ # pylint: disable=C,R __all__ = ('cached_property',) try: from functools import cached_property # pylint: disable=unused-import from functools import cached_property # type: ignore except ImportError: Loading searx/engines/mongodb.py +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ """ import re from pymongo import MongoClient # pylint: disable=import-error from pymongo import MongoClient # pyright: ignore # pylint: disable=import-error engine_type = 'offline' Loading searx/engines/mysql_server.py +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ # import error is ignored because the admin has to install mysql manually to use # the engine import mysql.connector # pylint: disable=import-error import mysql.connector # pyright: ignore # pylint: disable=import-error engine_type = 'offline' auth_plugin = 'caching_sha2_password' Loading searx/engines/postgresql.py +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ # import error is ignored because the admin has to install mysql manually to use # the engine import psycopg2 # pylint: disable=import-error import psycopg2 # pyright: ignore # pylint: disable=import-error engine_type = 'offline' host = "127.0.0.1" Loading Loading
manage +2 −1 Original line number Diff line number Diff line Loading @@ -698,7 +698,8 @@ test.pyright() { | grep -v '/engines/.*.py.* - warning: "logger" is not defined'\ | grep -v '/plugins/.*.py.* - error: "logger" is not defined'\ | grep -v '/engines/.*.py.* - warning: "supported_languages" is not defined' \ | grep -v '/engines/.*.py.* - warning: "language_aliases" is not defined' | grep -v '/engines/.*.py.* - warning: "language_aliases" is not defined' \ | grep -v '/engines/.*.py.* - warning: "categories" is not defined' dump_return $? } Loading
searx/compat.py +4 −1 Original line number Diff line number Diff line Loading @@ -7,8 +7,11 @@ # pylint: disable=C,R __all__ = ('cached_property',) try: from functools import cached_property # pylint: disable=unused-import from functools import cached_property # type: ignore except ImportError: Loading
searx/engines/mongodb.py +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ """ import re from pymongo import MongoClient # pylint: disable=import-error from pymongo import MongoClient # pyright: ignore # pylint: disable=import-error engine_type = 'offline' Loading
searx/engines/mysql_server.py +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ # import error is ignored because the admin has to install mysql manually to use # the engine import mysql.connector # pylint: disable=import-error import mysql.connector # pyright: ignore # pylint: disable=import-error engine_type = 'offline' auth_plugin = 'caching_sha2_password' Loading
searx/engines/postgresql.py +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ # import error is ignored because the admin has to install mysql manually to use # the engine import psycopg2 # pylint: disable=import-error import psycopg2 # pyright: ignore # pylint: disable=import-error engine_type = 'offline' host = "127.0.0.1" Loading