[pylint] engines: drop no longer needed 'missing-function-docstring'

Suggested-by: @dalf https://github.com/searxng/searxng/issues/102#issuecomment-914168470
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-09-07 13:26:59 +02:00
parent 5c86754340
commit f0059b80ed
28 changed files with 9 additions and 33 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -3,7 +3,6 @@
"""CORE (science)
"""
# pylint: disable=missing-function-docstring
from json import loads
from datetime import datetime

View File

@ -3,7 +3,6 @@
"""
Deviantart (Images)
"""
# pylint: disable=missing-function-docstring
from urllib.parse import urlencode
from lxml import html

View File

@ -3,7 +3,6 @@
"""
Digg (News, Social media)
"""
# pylint: disable=missing-function-docstring
from json import loads
from urllib.parse import urlencode

View File

@ -1,6 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
# pylint: disable=missing-function-docstring
"""Docker Hub (IT)
"""

View File

@ -1,6 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
# pylint: disable=missing-function-docstring
"""DuckDuckGo (Instant Answer API)
"""

View File

@ -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
"""

View File

@ -3,7 +3,7 @@
"""
Gigablast (Web)
"""
# pylint: disable=missing-function-docstring, invalid-name
# pylint: disable=invalid-name
import re
from json import loads

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -14,7 +14,7 @@
"""
# pylint: disable=invalid-name, missing-function-docstring
# pylint: disable=invalid-name
import re
from urllib.parse import urlencode

View File

@ -4,8 +4,6 @@
"""
# pylint: disable=missing-function-docstring
import datetime
from json import loads, dumps

View File

@ -4,7 +4,7 @@
Meilisearch
"""
# pylint: disable=global-statement, missing-function-docstring
# pylint: disable=global-statement
from json import loads, dumps

View File

@ -1,6 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
# pylint: disable=missing-function-docstring
"""MongoDB engine (Offline)
"""

View File

@ -1,6 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
# pylint: disable=missing-function-docstring
"""MySQL database (offline)
"""

View File

@ -3,7 +3,6 @@
"""OpenStreetMap (Map)
"""
# pylint: disable=missing-function-docstring
import re
from json import loads

View File

@ -1,6 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
# pylint: disable=missing-function-docstring
"""PostgreSQL database (offline)
"""

View File

@ -1,6 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
# pylint: disable=missing-function-docstring
"""Redis engine (offline)
"""

View File

@ -4,8 +4,6 @@
"""
# pylint: disable=missing-function-docstring
from json import loads
from urllib.parse import urlencode

View File

@ -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

View File

@ -4,8 +4,6 @@
"""
# pylint: disable=missing-function-docstring
from datetime import datetime
from json import loads
from urllib.parse import urlencode

View File

@ -1,6 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
# pylint: disable=missing-function-docstring
"""SQLite database (Offline)

View File

@ -1,6 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
# pylint: disable=missing-function-docstring
"""Unsplash
"""

View File

@ -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.

View File

@ -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