mirror of
https://github.com/searxng/searxng.git
synced 2025-07-24 13:49:26 +02:00
[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 <markus.heiser@darmarit.de>
This commit is contained in:
parent
c6f7a731d5
commit
b83c14cf6b
4 changed files with 6 additions and 6 deletions
|
@ -12,7 +12,7 @@ from json import loads, dumps
|
|||
base_url = 'http://localhost:7700'
|
||||
index = ''
|
||||
auth_key = ''
|
||||
facet_filters = list()
|
||||
facet_filters = []
|
||||
_search_url = ''
|
||||
result_template = 'key-value.html'
|
||||
categories = ['general']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue