From c6f7a731d5ae34bcc2cb01ed1c6d037ab88e57c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 27 Aug 2021 07:03:23 +0000 Subject: [PATCH 1/5] Bump pylint from 2.9.6 to 2.10.2 Bumps [pylint](https://github.com/PyCQA/pylint) from 2.9.6 to 2.10.2. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog) - [Commits](https://github.com/PyCQA/pylint/compare/v2.9.6...v2.10.2) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index e8dc0221c..445346d24 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,7 +2,7 @@ mock==4.0.3 nose2[coverage_plugin]==0.10.0 cov-core==1.15.0 pycodestyle==2.7.0 -pylint==2.9.6 +pylint==2.10.2 splinter==0.15.0 transifex-client==0.14.3 selenium==3.141.0 From b83c14cf6b2114686165c5aa568b34851b680970 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 31 Aug 2021 10:40:29 +0200 Subject: [PATCH 2/5] [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