forked from Archives/searxng
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2babf59adc
The errors make pyright usage useless since a new error won't be seen [1]. [1] https://github.com/searxng/searxng/pull/1569 ``` searx/compat.py:11:27 - error: Expression of type "Type[cached_property[_T@cached_property]]" cannot be assigned to declared type "Type[cached_property]" "Type[cached_property[_T@cached_property]]" is incompatible with "Type[cached_property]" Type "Type[cached_property[_T@cached_property]]" cannot be assigned to type "Type[cached_property]" (reportGeneralTypeIssues) searx/utils.py:69:36 - error: Expression of type "None" cannot be assigned to parameter of type "str" Type "None" cannot be assigned to type "str" (reportGeneralTypeIssues) searx/utils.py:573:85 - error: Expression of type "None" cannot be assigned to parameter of type "int" Type "None" cannot be assigned to type "int" (reportGeneralTypeIssues) searx/webapp.py:1306:22 - error: Argument of type "str" cannot be assigned to parameter "__a" of type "BytesPath" in function "join" Type "str" cannot be assigned to type "BytesPath" "str" is incompatible with "bytes" "str" is incompatible with protocol "PathLike[bytes]" "__fspath__" is not present (reportGeneralTypeIssues) searx/webapp.py:1306:68 - error: Argument of type "Literal['themes']" cannot be assigned to parameter "paths" of type "BytesPath" in function "join" Type "Literal['themes']" cannot be assigned to type "BytesPath" "Literal['themes']" is incompatible with "bytes" "Literal['themes']" is incompatible with protocol "PathLike[bytes]" "__fspath__" is not present (reportGeneralTypeIssues) searx/webapp.py:1306:78 - error: Argument of type "str | Any | None" cannot be assigned to parameter "paths" of type "BytesPath" in function "join" Type "str | Any | None" cannot be assigned to type "BytesPath" Type "str" cannot be assigned to type "BytesPath" "str" is incompatible with "bytes" "str" is incompatible with protocol "PathLike[bytes]" "__fspath__" is not present (reportGeneralTypeIssues) searx/webapp.py:1306:85 - error: Argument of type "Literal['img']" cannot be assigned to parameter "paths" of type "BytesPath" in function "join" Type "Literal['img']" cannot be assigned to type "BytesPath" "Literal['img']" is incompatible with "bytes" "Literal['img']" is incompatible with protocol "PathLike[bytes]" "__fspath__" is not present (reportGeneralTypeIssues) searx/engines/mongodb.py:8:6 - warning: Import "pymongo" could not be resolved (reportMissingImports) searx/engines/mysql_server.py:9:8 - warning: Import "mysql.connector" could not be resolved (reportMissingImports) searx/engines/postgresql.py:9:8 - warning: Import "psycopg2" could not be resolved from source (reportMissingModuleSource) searx/engines/xpath.py:187:28 - warning: "categories" is not defined (reportUndefinedVariable) searx/search/__init__.py:184:82 - warning: "flask" is not defined (reportUndefinedVariable) searx/search/checker/background.py:19:26 - error: Type of "schedule" is partially unknown Type of "schedule" is "(delay: Any, func: Any, *args: Any) -> Literal[True]" (reportUnknownVariableType) searx/shared/__init__.py:8:12 - warning: Import "uwsgi" could not be resolved (reportMissingImports) searx/shared/shared_uwsgi.py:5:8 - warning: Import "uwsgi" could not be resolved (reportMissingImports) ``` |
2 years ago | |
---|---|---|
.. | ||
1337x.py | ||
__init__.py | 2 years ago | |
ahmia.py | ||
apkmirror.py | 3 years ago | |
archlinux.py | 3 years ago | |
artic.py | ||
arxiv.py | ||
bandcamp.py | 3 years ago | |
base.py | ||
bing.py | 2 years ago | |
bing_images.py | 3 years ago | |
bing_news.py | ||
bing_videos.py | 3 years ago | |
btdigg.py | ||
command.py | ||
core.py | ||
currency_convert.py | 3 years ago | |
dailymotion.py | 2 years ago | |
deezer.py | 3 years ago | |
demo_offline.py | ||
demo_online.py | 2 years ago | |
deviantart.py | ||
dictzone.py | ||
digbt.py | ||
docker_hub.py | ||
doku.py | 3 years ago | |
duckduckgo.py | 3 years ago | |
duckduckgo_definitions.py | 3 years ago | |
duckduckgo_images.py | 3 years ago | |
duden.py | 3 years ago | |
dummy-offline.py | ||
dummy.py | ||
ebay.py | 2 years ago | |
elasticsearch.py | ||
emojipedia.py | 2 years ago | |
fdroid.py | 3 years ago | |
flickr.py | ||
flickr_noapi.py | ||
framalibre.py | ||
freesound.py | 3 years ago | |
frinkiac.py | ||
genius.py | 3 years ago | |
gentoo.py | 3 years ago | |
gigablast.py | 3 years ago | |
github.py | 3 years ago | |
google.py | 2 years ago | |
google_images.py | 2 years ago | |
google_news.py | 2 years ago | |
google_play_apps.py | 2 years ago | |
google_scholar.py | 2 years ago | |
google_videos.py | 2 years ago | |
imdb.py | 3 years ago | |
ina.py | 3 years ago | |
invidious.py | 3 years ago | |
jisho.py | 2 years ago | |
json_engine.py | 2 years ago | |
kickass.py | ||
lingva.py | 2 years ago | |
loc.py | ||
mediathekviewweb.py | 3 years ago | |
mediawiki.py | ||
meilisearch.py | ||
mixcloud.py | 3 years ago | |
mongodb.py | 2 years ago | |
mysql_server.py | 2 years ago | |
nyaa.py | ||
opensemantic.py | ||
openstreetmap.py | 2 years ago | |
openverse.py | 3 years ago | |
pdbe.py | ||
peertube.py | 3 years ago | |
petal_images.py | 2 years ago | |
photon.py | ||
piratebay.py | ||
postgresql.py | 2 years ago | |
pubmed.py | ||
qwant.py | ||
recoll.py | ||
reddit.py | ||
redis_server.py | ||
rumble.py | ||
scanr_structures.py | ||
searchcode_code.py | ||
searx_engine.py | 3 years ago | |
semantic_scholar.py | 3 years ago | |
sepiasearch.py | 3 years ago | |
seznam.py | 3 years ago | |
sjp.py | 2 years ago | |
solidtorrents.py | 3 years ago | |
solr.py | ||
soundcloud.py | 3 years ago | |
spotify.py | 3 years ago | |
springer.py | ||
sqlite.py | ||
stackexchange.py | ||
startpage.py | 3 years ago | |
tineye.py | 2 years ago | |
tokyotoshokan.py | ||
torznab.py | ||
translated.py | 3 years ago | |
unsplash.py | ||
vimeo.py | 3 years ago | |
wikidata.py | 2 years ago | |
wikipedia.py | ||
wolframalpha_api.py | 3 years ago | |
wolframalpha_noapi.py | ||
wordnik.py | ||
www1x.py | 3 years ago | |
xpath.py | 2 years ago | |
yacy.py | ||
yahoo.py | 2 years ago | |
yahoo_news.py | 3 years ago | |
youtube_api.py | 3 years ago | |
youtube_noapi.py | 2 years ago | |
zlibrary.py | 2 years ago |