From b83c14cf6b2114686165c5aa568b34851b680970 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 31 Aug 2021 10:40:29 +0200 Subject: [PATCH] [pylint] Pylint 2.10 - fix use-list-literal & use-dict-literal Pylint 2.10 added new default checks [1]: use-list-literal Emitted when list() is called with no arguments instead of using [] use-dict-literal Emitted when dict() is called with no arguments instead of using {} [1] https://pylint.pycqa.org/en/latest/whatsnew/2.10.html Signed-off-by: Markus Heiser --- searx/engines/google_images.py | 2 +- searx/engines/google_videos.py | 2 +- searx/engines/meilisearch.py | 2 +- searx/preferences.py | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/searx/engines/google_images.py b/searx/engines/google_images.py index edfc3df9a..f4fbbaa42 100644 --- a/searx/engines/google_images.py +++ b/searx/engines/google_images.py @@ -66,7 +66,7 @@ filter_mapping = { def scrap_out_thumbs(dom): """Scrap out thumbnail data from