Browse Source

[pylint] tag PYLINT_FILES by comment `# lint: pylint`

These py files are linted by `test.pylint`, all other files are linted by
`test.pep8`.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Markus Heiser 4 years ago
parent
commit
dc29f1d826

+ 1 - 0
searx/engines/apkmirror.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """APKMirror
 """APKMirror
 """
 """
 
 

+ 1 - 0
searx/engines/artic.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """The Art Institute of Chicago
 """The Art Institute of Chicago
 
 
 Explore thousands of artworks from The Art Institute of Chicago.
 Explore thousands of artworks from The Art Institute of Chicago.

+ 1 - 0
searx/engines/core.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """CORE (science)
 """CORE (science)
 
 
 """
 """

+ 1 - 0
searx/engines/deviantart.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """
 """
  Deviantart (Images)
  Deviantart (Images)
 """
 """

+ 1 - 0
searx/engines/digg.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """
 """
  Digg (News, Social media)
  Digg (News, Social media)
 """
 """

+ 1 - 0
searx/engines/gigablast.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """
 """
  Gigablast (Web)
  Gigablast (Web)
 """
 """

+ 1 - 0
searx/engines/google.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """Google (Web)
 """Google (Web)
 
 
 For detailed description of the *REST-full* API see: `Query Parameter
 For detailed description of the *REST-full* API see: `Query Parameter

+ 1 - 0
searx/engines/google_images.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """Google (Images)
 """Google (Images)
 
 
 For detailed description of the *REST-full* API see: `Query Parameter
 For detailed description of the *REST-full* API see: `Query Parameter

+ 1 - 0
searx/engines/google_news.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """Google (News)
 """Google (News)
 
 
 For detailed description of the *REST-full* API see: `Query Parameter
 For detailed description of the *REST-full* API see: `Query Parameter

+ 1 - 0
searx/engines/google_scholar.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """Google (Scholar)
 """Google (Scholar)
 
 
 For detailed description of the *REST-full* API see: `Query Parameter
 For detailed description of the *REST-full* API see: `Query Parameter

+ 1 - 0
searx/engines/google_videos.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """Google (Video)
 """Google (Video)
 
 
 For detailed description of the *REST-full* API see: `Query Parameter
 For detailed description of the *REST-full* API see: `Query Parameter

+ 1 - 0
searx/engines/mediathekviewweb.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """MediathekViewWeb (API)
 """MediathekViewWeb (API)
 
 
 """
 """

+ 1 - 0
searx/engines/meilisearch.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """
 """
  Meilisearch
  Meilisearch
 """
 """

+ 1 - 0
searx/engines/solidtorrents.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """Solid Torrents
 """Solid Torrents
 
 
 """
 """

+ 1 - 0
searx/engines/solr.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """
 """
  Solr
  Solr
 """
 """

+ 1 - 0
searx/engines/springer.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """Springer Nature (science)
 """Springer Nature (science)
 
 
 """
 """

+ 1 - 0
searx/engines/yahoo_news.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """Yahoo (News)
 """Yahoo (News)
 
 
 Yahoo News is "English only" and do not offer localized nor language queries.
 Yahoo News is "English only" and do not offer localized nor language queries.

+ 1 - 0
searx/metrics/__init__.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 # pylint: disable=missing-module-docstring, missing-function-docstring
 # pylint: disable=missing-module-docstring, missing-function-docstring
 
 
 import typing
 import typing

+ 1 - 0
searx/preferences.py

@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """Searx preferences implementation.
 """Searx preferences implementation.
 """
 """
 
 

+ 1 - 0
searx/testing.py

@@ -1,5 +1,6 @@
 # -*- coding: utf-8 -*-
 # -*- coding: utf-8 -*-
 # SPDX-License-Identifier: AGPL-3.0-or-later
 # SPDX-License-Identifier: AGPL-3.0-or-later
+# lint: pylint
 """Shared testing code."""
 """Shared testing code."""
 
 
 # pylint: disable=missing-function-docstring
 # pylint: disable=missing-function-docstring

+ 1 - 0
searx_extra/update/update_external_bangs.py

@@ -1,4 +1,5 @@
 #!/usr/bin/env python
 #!/usr/bin/env python
+# lint: pylint
 """
 """
 Update searx/data/external_bangs.json using the duckduckgo bangs.
 Update searx/data/external_bangs.json using the duckduckgo bangs.