diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2023-02-10 13:40:12 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2023-02-10 13:59:21 +0100 |
commit | 4c06837a5047a5d3a7ae9bd5ec9fb38f86eb5268 (patch) | |
tree | 81ff97768f1a4daf81618d52e9a15e500c992651 /searx/engines | |
parent | 7320b0c796f2e9c297da67be5555acc90d1ee0d9 (diff) | |
download | searxng-4c06837a5047a5d3a7ae9bd5ec9fb38f86eb5268.tar.gz searxng-4c06837a5047a5d3a7ae9bd5ec9fb38f86eb5268.zip |
[mod] make python code pylint 2.16.1 compliant
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines')
-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 |
3 files changed, 3 insertions, 1 deletions
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 |