Browse Source

Merge pull request #863 from searxng/dependabot/pip/master/black-22.1.0

Bump black from 21.12b0 to 22.1.0
Markus Heiser 3 years ago
parent
commit
de32d543bc
2 changed files with 2 additions and 2 deletions
  1. 1 1
      requirements-dev.txt
  2. 1 1
      searx/answerers/random/answerer.py

+ 1 - 1
requirements-dev.txt

@@ -1,7 +1,7 @@
 mock==4.0.3
 mock==4.0.3
 nose2[coverage_plugin]==0.10.0
 nose2[coverage_plugin]==0.10.0
 cov-core==1.15.0
 cov-core==1.15.0
-black==21.12b0
+black==22.1.0
 pycodestyle==2.8.0
 pycodestyle==2.8.0
 pylint==2.12.2
 pylint==2.12.2
 splinter==0.17.0
 splinter==0.17.0

+ 1 - 1
searx/answerers/random/answerer.py

@@ -8,7 +8,7 @@ from flask_babel import gettext
 # specifies which search query keywords triggers this answerer
 # specifies which search query keywords triggers this answerer
 keywords = ('random',)
 keywords = ('random',)
 
 
-random_int_max = 2 ** 31
+random_int_max = 2**31
 random_string_letters = string.ascii_lowercase + string.digits + string.ascii_uppercase
 random_string_letters = string.ascii_lowercase + string.digits + string.ascii_uppercase