mirror of https://github.com/searx/searx
Bump pycodestyle from 2.8.0 to 2.9.0 (#3320)
* Bump pycodestyle from 2.8.0 to 2.9.0 Bumps [pycodestyle](https://github.com/PyCQA/pycodestyle) from 2.8.0 to 2.9.0. - [Release notes](https://github.com/PyCQA/pycodestyle/releases) - [Changelog](https://github.com/PyCQA/pycodestyle/blob/main/CHANGES.txt) - [Commits](https://github.com/PyCQA/pycodestyle/compare/2.8.0...2.9.0) --- updated-dependencies: - dependency-name: pycodestyle dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix mongodb Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Noémi Ványi <sitbackandwait@gmail.com>
This commit is contained in:
parent
4be4e71de8
commit
a1c06cbb1b
|
@ -1,7 +1,7 @@
|
|||
mock==4.0.3
|
||||
nose2[coverage_plugin]==0.12.0
|
||||
cov-core==1.15.0
|
||||
pycodestyle==2.8.0
|
||||
pycodestyle==2.9.0
|
||||
pylint==2.14.5
|
||||
splinter==0.18.1
|
||||
transifex-client==0.14.3; python_version < '3.10'
|
||||
|
|
|
@ -54,7 +54,7 @@ def search(query, params):
|
|||
.limit(results_per_page)
|
||||
ret.append({'number_of_results': results.count()})
|
||||
for r in results:
|
||||
del(r['_id'])
|
||||
del r['_id']
|
||||
r = {str(k): str(v) for k, v in r.items()}
|
||||
r['template'] = result_template
|
||||
ret.append(r)
|
||||
|
|
Loading…
Reference in New Issue