From 26b3cc55826a53ab653cee821d62536d4886e73a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 4 Feb 2022 07:05:21 +0000 Subject: [PATCH 1/2] Bump black from 21.12b0 to 22.1.0 Bumps [black](https://github.com/psf/black) from 21.12b0 to 22.1.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/commits/22.1.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:development ... 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 8c75db80a..a03013e0f 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,7 +1,7 @@ mock==4.0.3 nose2[coverage_plugin]==0.10.0 cov-core==1.15.0 -black==21.12b0 +black==22.1.0 pycodestyle==2.8.0 pylint==2.12.2 splinter==0.17.0 From 964902e77992dc579410d4cfe9a4e83ee53b15ea Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Fri, 4 Feb 2022 09:45:35 +0100 Subject: [PATCH 2/2] [fix] issue reported by pylint 22.1.0 Signed-off-by: Markus Heiser --- searx/answerers/random/answerer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/answerers/random/answerer.py b/searx/answerers/random/answerer.py index e6c383330..059dd7c87 100644 --- a/searx/answerers/random/answerer.py +++ b/searx/answerers/random/answerer.py @@ -8,7 +8,7 @@ from flask_babel import gettext # specifies which search query keywords triggers this answerer keywords = ('random',) -random_int_max = 2 ** 31 +random_int_max = 2**31 random_string_letters = string.ascii_lowercase + string.digits + string.ascii_uppercase