summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2024-03-11 14:06:26 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-03-11 14:55:38 +0100
commit542f7d0d7bd1a12e1884ba4a1508b40e2514d472 (patch)
tree5256282b267e494200d02914593457854567fec4
parent8205f170ff983e5240d32dc17d7fdb526ebe5fe7 (diff)
downloadsearx-542f7d0d7bd1a12e1884ba4a1508b40e2514d472.tar.gz
searx-542f7d0d7bd1a12e1884ba4a1508b40e2514d472.zip
[mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION
In the past, some files were tested with the standard profile, others with a profile in which most of the messages were switched off ... some files were not checked at all. - ``PYLINT_SEARXNG_DISABLE_OPTION`` has been abolished - the distinction ``# lint: pylint`` is no longer necessary - the pylint tasks have been reduced from three to two 1. ./searx/engines -> lint engines with additional builtins 2. ./searx ./searxng_extra ./tests -> lint all other python files Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r--.pylintrc2
-rw-r--r--docs/conf.py1
-rw-r--r--examples/basic_engine.py25
-rwxr-xr-xmanage21
-rw-r--r--searx/__init__.py3
-rw-r--r--searx/answerers/__init__.py15
-rw-r--r--searx/answerers/random/answerer.py2
-rw-r--r--searx/answerers/statistics/answerer.py1
-rw-r--r--searx/autocomplete.py1
-rw-r--r--searx/babel_extract.py1
-rw-r--r--searx/botdetection/__init__.py1
-rw-r--r--searx/botdetection/_helpers.py1
-rw-r--r--searx/botdetection/config.py1
-rw-r--r--searx/botdetection/http_accept.py1
-rw-r--r--searx/botdetection/http_accept_encoding.py1
-rw-r--r--searx/botdetection/http_accept_language.py1
-rw-r--r--searx/botdetection/http_connection.py1
-rw-r--r--searx/botdetection/http_user_agent.py1
-rw-r--r--searx/botdetection/ip_limit.py1
-rw-r--r--searx/botdetection/ip_lists.py1
-rw-r--r--searx/botdetection/link_token.py1
-rw-r--r--searx/data/__init__.py1
-rw-r--r--searx/enginelib/__init__.py1
-rw-r--r--searx/enginelib/traits.py3
-rw-r--r--searx/engines/bandcamp.py13
-rw-r--r--searx/engines/duden.py16
-rw-r--r--searx/engines/presearch.py3
-rw-r--r--searx/exceptions.py2
-rw-r--r--searx/external_bang.py3
-rw-r--r--searx/external_urls.py6
-rw-r--r--searx/flaskfix.py1
-rw-r--r--searx/infopage/__init__.py2
-rw-r--r--searx/limiter.py1
-rw-r--r--searx/locales.py2
-rw-r--r--searx/metrics/__init__.py1
-rw-r--r--searx/metrics/error_recorder.py15
-rw-r--r--searx/metrics/models.py29
-rw-r--r--searx/network/__init__.py1
-rw-r--r--searx/network/client.py1
-rw-r--r--searx/network/network.py1
-rw-r--r--searx/network/raise_for_httperror.py1
-rw-r--r--searx/plugins/__init__.py1
-rw-r--r--searx/plugins/ahmia_filter.py9
-rw-r--r--searx/plugins/hash_plugin.py26
-rw-r--r--searx/plugins/hostname_replace.py7
-rw-r--r--searx/plugins/oa_doi_rewrite.py9
-rw-r--r--searx/plugins/self_info.py1
-rw-r--r--searx/plugins/tor_check.py1
-rw-r--r--searx/plugins/tracker_url_remover.py23
-rw-r--r--searx/preferences.py1
-rw-r--r--searx/query.py3
-rw-r--r--searx/redisdb.py1
-rw-r--r--searx/redislib.py1
-rw-r--r--searx/results.py30
-rw-r--r--searx/search/__init__.py1
-rw-r--r--searx/search/checker/__init__.py1
-rw-r--r--searx/search/checker/__main__.py1
-rw-r--r--searx/search/checker/background.py4
-rw-r--r--searx/search/checker/impl.py12
-rw-r--r--searx/search/checker/scheduler.py1
-rw-r--r--searx/search/models.py3
-rw-r--r--searx/search/processors/__init__.py1
-rw-r--r--searx/search/processors/abstract.py2
-rw-r--r--searx/search/processors/offline.py2
-rw-r--r--searx/search/processors/online.py2
-rw-r--r--searx/search/processors/online_currency.py1
-rw-r--r--searx/search/processors/online_dictionary.py1
-rw-r--r--searx/search/processors/online_url_search.py1
-rw-r--r--searx/settings_defaults.py1
-rw-r--r--searx/settings_loader.py1
-rw-r--r--searx/sxng_locales.py2
-rw-r--r--searx/unixthreadname.py1
-rw-r--r--searx/utils.py6
-rw-r--r--searx/version.py2
-rw-r--r--searx/webadapter.py14
-rwxr-xr-xsearx/webapp.py2
-rw-r--r--searx/webutils.py19
-rw-r--r--searxng_extra/__init__.py2
-rwxr-xr-xsearxng_extra/docs_prebuild12
-rwxr-xr-xsearxng_extra/standalone_searx.py3
-rw-r--r--searxng_extra/update/__init__.py2
-rwxr-xr-xsearxng_extra/update/update_ahmia_blacklist.py1
-rwxr-xr-xsearxng_extra/update/update_currencies.py2
-rwxr-xr-xsearxng_extra/update/update_engine_descriptions.py2
-rwxr-xr-xsearxng_extra/update/update_engine_traits.py3
-rwxr-xr-xsearxng_extra/update/update_external_bangs.py1
-rwxr-xr-xsearxng_extra/update/update_firefox_version.py1
-rwxr-xr-xsearxng_extra/update/update_locales.py1
-rwxr-xr-xsearxng_extra/update/update_osm_keys_tags.py1
-rwxr-xr-xsearxng_extra/update/update_pygments.py1
-rwxr-xr-xsearxng_extra/update/update_wikidata_units.py3
-rw-r--r--setup.py2
-rw-r--r--tests/__init__.py4
-rw-r--r--tests/robot/__init__.py2
-rw-r--r--tests/robot/__main__.py1
-rw-r--r--