diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2023-02-10 14:15:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-10 14:15:38 +0100 |
| commit | 3ebbdc179cf9145d383711cef074843d1fe9b571 (patch) | |
| tree | 1667be8878937e8883bde81c545e0fd7e95eb2e7 /searx | |
| parent | 7320b0c796f2e9c297da67be5555acc90d1ee0d9 (diff) | |
| parent | f1a3872aeb8bef5eefb248d93d69b49f42d16b32 (diff) | |
Merge pull request #2173 from searxng/dependabot/pip/master/pylint-2.16.1
Bump pylint from 2.15.10 to 2.16.1
Diffstat (limited to 'searx')
| -rw-r--r-- | searx/autocomplete.py | 1 | ||||
| -rw-r--r-- | searx/engines/crossref.py | 1 | ||||
| -rw-r--r-- | searx/engines/docker_hub.py | 1 | ||||
| -rw-r--r-- | searx/engines/gigablast.py | 2 | ||||
| -rw-r--r-- | searx/search/processors/online.py | 1 | ||||
| -rwxr-xr-x | searx/webapp.py | 2 |
6 files changed, 7 insertions, 1 deletions
diff --git a/searx/autocomplete.py b/searx/autocomplete.py index 6fb5537a2..aeb697a14 100644 --- a/searx/autocomplete.py +++ b/searx/autocomplete.py @@ -3,6 +3,7 @@ """This module implements functions needed for the autocompleter. """ +# pylint: disable=use-dict-literal from json import loads from urllib.parse import urlencode diff --git a/searx/engines/crossref.py b/searx/engines/crossref.py index fbe2f0c2a..e12a0da5b 100644 --- a/searx/engines/crossref.py +++ b/searx/engines/crossref.py @@ -2,6 +2,7 @@ # lint: pylint """Semantic Scholar (Science) """ +# pylint: disable=use-dict-literal from urllib.parse import urlencode from searx.utils import html_to_text diff --git a/searx/engines/docker_hub.py b/searx/engines/docker_hub.py index 1e492b196..cde96d016 100644 --- a/searx/engines/docker_hub.py +++ b/searx/engines/docker_hub.py @@ -3,6 +3,7 @@ """Docker Hub (IT) """ +# pylint: disable=use-dict-literal from json import loads from urllib.parse import urlencode diff --git a/searx/engines/gigablast.py b/searx/engines/gigablast.py index 1c40ff331..382711b10 100644 --- a/searx/engines/gigablast.py +++ b/searx/engines/gigablast.py @@ -3,7 +3,7 @@ """ Gigablast (Web) """ -# pylint: disable=invalid-name +# pylint: disable=invalid-name, use-dict-literal import re from time import time diff --git a/searx/search/processors/online.py b/searx/search/processors/online.py index dd5d1e36b..242718416 100644 --- a/searx/search/processors/online.py +++ b/searx/search/processors/online.py @@ -4,6 +4,7 @@ """Processores for engine-type: ``online`` """ +# pylint: disable=use-dict-literal from timeit import default_timer import asyncio diff --git a/searx/webapp.py b/searx/webapp.py index d9ca3941c..07225908c 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -5,6 +5,8 @@ """WebbApp """ +# pylint: disable=use-dict-literal + import hashlib import hmac import json |