[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:
Markus Heiser 2021-08-31 10:40:29 +02:00
parent c6f7a731d5
commit b83c14cf6b
4 changed files with 6 additions and 6 deletions

View file

@ -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']