Browse Source

[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>
Markus Heiser 3 years ago
parent
commit
f0059b80ed

+ 0 - 1
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

+ 1 - 1
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

+ 0 - 2
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
 

+ 0 - 1
searx/engines/core.py

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

+ 0 - 1
searx/engines/deviantart.py

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

+ 0 - 1
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

+ 0 - 1
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)
 
 """

+ 0 - 1
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)
 
 """

+ 1 - 1
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
 
 """

+ 1 - 1
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

+ 0 - 2
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

+ 1 - 1
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

+ 1 - 1
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

+ 1 - 1
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

+ 0 - 2
searx/engines/mediathekviewweb.py

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

+ 1 - 1
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
 

+ 0 - 1
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)
 
 """

+ 0 - 1
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)
 
 """

+ 0 - 1
searx/engines/openstreetmap.py

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

+ 0 - 1
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)
 
 """

+ 0 - 1
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)
 
 """

+ 0 - 2
searx/engines/solidtorrents.py

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

+ 1 - 1
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

+ 0 - 2
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

+ 0 - 1
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)
 

+ 0 - 1
searx/engines/unsplash.py

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

+ 0 - 1
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.
 

+ 1 - 1
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