diff --git a/searx/engines/__init__.py b/searx/engines/__init__.py index 1ac675c4c..154cd605f 100644 --- a/searx/engines/__init__.py +++ b/searx/engines/__init__.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # lint: pylint -# pylint: disable=missing-function-docstring """This module implements the engine loader. Load and initialize the ``engines``, see :py:func:`load_engines` and register diff --git a/searx/engines/apkmirror.py b/searx/engines/apkmirror.py index 36e838227..746a8cd9c 100644 --- a/searx/engines/apkmirror.py +++ b/searx/engines/apkmirror.py @@ -3,7 +3,7 @@ """APKMirror """ -# pylint: disable=invalid-name, missing-function-docstring +# pylint: disable=invalid-name from urllib.parse import urlencode from lxml import html diff --git a/searx/engines/artic.py b/searx/engines/artic.py index 85d355ed3..104ab8839 100644 --- a/searx/engines/artic.py +++ b/searx/engines/artic.py @@ -8,8 +8,6 @@ Explore thousands of artworks from The Art Institute of Chicago. """ -# pylint: disable=missing-function-docstring - from json import loads from urllib.parse import urlencode diff --git a/searx/engines/core.py b/searx/engines/core.py index 5e87400bd..e83c8bbe9 100644 --- a/searx/engines/core.py +++ b/searx/engines/core.py @@ -3,7 +3,6 @@ """CORE (science) """ -# pylint: disable=missing-function-docstring from json import loads from datetime import datetime diff --git a/searx/engines/deviantart.py b/searx/engines/deviantart.py index 21d56831c..b13d54dd5 100644 --- a/searx/engines/deviantart.py +++ b/searx/engines/deviantart.py @@ -3,7 +3,6 @@ """ Deviantart (Images) """ -# pylint: disable=missing-function-docstring from urllib.parse import urlencode from lxml import html diff --git a/searx/engines/digg.py b/searx/engines/digg.py index 5c6fb3875..e12cc43c8 100644 --- a/searx/engines/digg.py +++ b/searx/engines/digg.py @@ -3,7 +3,6 @@ """ Digg (News, Social media) """ -# pylint: disable=missing-function-docstring from json import loads from urllib.parse import urlencode diff --git a/searx/engines/docker_hub.py b/searx/engines/docker_hub.py index d9d0f745b..e69f677b3 100644 --- a/searx/engines/docker_hub.py +++ b/searx/engines/docker_hub.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # lint: pylint -# pylint: disable=missing-function-docstring """Docker Hub (IT) """ diff --git a/searx/engines/duckduckgo_definitions.py b/searx/engines/duckduckgo_definitions.py index b9436f67f..3ef043964 100644 --- a/searx/engines/duckduckgo_definitions.py +++ b/searx/engines/duckduckgo_definitions.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # lint: pylint -# pylint: disable=missing-function-docstring """DuckDuckGo (Instant Answer API) """ diff --git a/searx/engines/genius.py b/searx/engines/genius.py index 49fda0053..b0fcb09a8 100644 --- a/searx/engines/genius.py +++ b/searx/engines/genius.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # lint: pylint -# pylint: disable=invalid-name, missing-function-docstring +# pylint: disable=invalid-name """Genius """ diff --git a/searx/engines/gigablast.py b/searx/engines/gigablast.py index 376467d9b..c2c51afe8 100644 --- a/searx/engines/gigablast.py +++ b/searx/engines/gigablast.py @@ -3,7 +3,7 @@ """ Gigablast (Web) """ -# pylint: disable=missing-function-docstring, invalid-name +# pylint: disable=invalid-name import re from json import loads diff --git a/searx/engines/google.py b/searx/engines/google.py index 0f79b70db..4e6fa6190 100644 --- a/searx/engines/google.py +++ b/searx/engines/google.py @@ -25,8 +25,6 @@ The google WEB engine itself has a special setup option: """ -# pylint: disable=invalid-name, missing-function-docstring - from urllib.parse import urlencode from lxml import html from searx.utils import match_language, extract_text, eval_xpath, eval_xpath_list, eval_xpath_getindex diff --git a/searx/engines/google_news.py b/searx/engines/google_news.py index bab8bc86a..87ac9a19d 100644 --- a/searx/engines/google_news.py +++ b/searx/engines/google_news.py @@ -11,7 +11,7 @@ ignores some parameters from the common :ref:`google API`: """ -# pylint: disable=invalid-name, missing-function-docstring +# pylint: disable=invalid-name import binascii from datetime import datetime diff --git a/searx/engines/google_scholar.py b/searx/engines/google_scholar.py index 95b7d7a03..e6726463d 100644 --- a/searx/engines/google_scholar.py +++ b/searx/engines/google_scholar.py @@ -9,7 +9,7 @@ Definitions`_. https://developers.google.com/custom-search/docs/xml_results#WebSearch_Query_Parameter_Definitions """ -# pylint: disable=invalid-name, missing-function-docstring +# pylint: disable=invalid-name from urllib.parse import urlencode from datetime import datetime diff --git a/searx/engines/google_videos.py b/searx/engines/google_videos.py index b04ab5899..9403ef4f7 100644 --- a/searx/engines/google_videos.py +++ b/searx/engines/google_videos.py @@ -14,7 +14,7 @@ """ -# pylint: disable=invalid-name, missing-function-docstring +# pylint: disable=invalid-name import re from urllib.parse import urlencode diff --git a/searx/engines/mediathekviewweb.py b/searx/engines/mediathekviewweb.py index 80104ae73..bd7c16a5d 100644 --- a/searx/engines/mediathekviewweb.py +++ b/searx/engines/mediathekviewweb.py @@ -4,8 +4,6 @@ """ -# pylint: disable=missing-function-docstring - import datetime from json import loads, dumps diff --git a/searx/engines/meilisearch.py b/searx/engines/meilisearch.py index d0d304e2a..c41d23eb4 100644 --- a/searx/engines/meilisearch.py +++ b/searx/engines/meilisearch.py @@ -4,7 +4,7 @@ Meilisearch """ -# pylint: disable=global-statement, missing-function-docstring +# pylint: disable=global-statement from json import loads, dumps diff --git a/searx/engines/mongodb.py b/searx/engines/mongodb.py index 1f24c5acf..2ebb90539 100644 --- a/searx/engines/mongodb.py +++ b/searx/engines/mongodb.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # lint: pylint -# pylint: disable=missing-function-docstring """MongoDB engine (Offline) """ diff --git a/searx/engines/mysql_server.py b/searx/engines/mysql_server.py index 42b436f5e..be89eb86e 100644 --- a/searx/engines/mysql_server.py +++ b/searx/engines/mysql_server.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # lint: pylint -# pylint: disable=missing-function-docstring """MySQL database (offline) """ diff --git a/searx/engines/openstreetmap.py b/searx/engines/openstreetmap.py index 721769a25..78c15320a 100644 --- a/searx/engines/openstreetmap.py +++ b/searx/engines/openstreetmap.py @@ -3,7 +3,6 @@ """OpenStreetMap (Map) """ -# pylint: disable=missing-function-docstring import re from json import loads diff --git a/searx/engines/postgresql.py b/searx/engines/postgresql.py index eb4e9b0b4..1eddcd519 100644 --- a/searx/engines/postgresql.py +++ b/searx/engines/postgresql.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # lint: pylint -# pylint: disable=missing-function-docstring """PostgreSQL database (offline) """ diff --git a/searx/engines/redis_server.py b/searx/engines/redis_server.py index e8c248e32..a48f0775b 100644 --- a/searx/engines/redis_server.py +++ b/searx/engines/redis_server.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # lint: pylint -# pylint: disable=missing-function-docstring """Redis engine (offline) """ diff --git a/searx/engines/solidtorrents.py b/searx/engines/solidtorrents.py index 57bf675cd..7fbef9190 100644 --- a/searx/engines/solidtorrents.py +++ b/searx/engines/solidtorrents.py @@ -4,8 +4,6 @@ """ -# pylint: disable=missing-function-docstring - from json import loads from urllib.parse import urlencode diff --git a/searx/engines/solr.py b/searx/engines/solr.py index e38a103a9..e26f19442 100644 --- a/searx/engines/solr.py +++ b/searx/engines/solr.py @@ -4,7 +4,7 @@ Solr """ -# pylint: disable=global-statement, missing-function-docstring +# pylint: disable=global-statement from json import loads from urllib.parse import urlencode diff --git a/searx/engines/springer.py b/searx/engines/springer.py index 4288d0b4c..246e59b44 100644 --- a/searx/engines/springer.py +++ b/searx/engines/springer.py @@ -4,8 +4,6 @@ """ -# pylint: disable=missing-function-docstring - from datetime import datetime from json import loads from urllib.parse import urlencode diff --git a/searx/engines/sqlite.py b/searx/engines/sqlite.py index 9a639ff9a..292448602 100644 --- a/searx/engines/sqlite.py +++ b/searx/engines/sqlite.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # lint: pylint -# pylint: disable=missing-function-docstring """SQLite database (Offline) diff --git a/searx/engines/unsplash.py b/searx/engines/unsplash.py index dcca18ee6..1445b4cec 100644 --- a/searx/engines/unsplash.py +++ b/searx/engines/unsplash.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # lint: pylint -# pylint: disable=missing-function-docstring """Unsplash """ diff --git a/searx/engines/xpath.py b/searx/engines/xpath.py index a7a5e57ab..8338d5301 100644 --- a/searx/engines/xpath.py +++ b/searx/engines/xpath.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # lint: pylint -# pylint: disable=missing-function-docstring """The XPath engine is a *generic* engine with which it is possible to configure engines in the settings. diff --git a/searx/engines/yahoo_news.py b/searx/engines/yahoo_news.py index 750373ffb..ec07cd408 100644 --- a/searx/engines/yahoo_news.py +++ b/searx/engines/yahoo_news.py @@ -6,7 +6,7 @@ Yahoo News is "English only" and do not offer localized nor language queries. """ -# pylint: disable=invalid-name, missing-function-docstring +# pylint: disable=invalid-name import re from urllib.parse import urlencode