diff --git a/requirements-dev.txt b/requirements-dev.txt index e3b8c56ac..ae5579c49 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 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