diff options
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 |