mirror of
https://github.com/searxng/searxng.git
synced 2025-12-23 04:00:02 +00:00
[format.python] initial formatting of the python code
This patch was generated by black [1]::
make format.python
[1] https://github.com/psf/black
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
@@ -114,7 +114,6 @@ INFO:werkzeug: * Debugger PIN: 299-578-362'''
|
||||
'template': 'key-value.html',
|
||||
'level': 'DEBUG',
|
||||
},
|
||||
|
||||
],
|
||||
[
|
||||
{
|
||||
@@ -136,7 +135,6 @@ INFO:werkzeug: * Debugger PIN: 299-578-362'''
|
||||
'level': 'INFO',
|
||||
},
|
||||
],
|
||||
|
||||
]
|
||||
|
||||
for i in [0, 1]:
|
||||
@@ -171,7 +169,7 @@ commit '''
|
||||
'commit': '\w{40}',
|
||||
'author': '[\w* ]* <\w*@?\w*\.?\w*>',
|
||||
'date': 'Date: .*',
|
||||
'message': '\n\n.*$'
|
||||
'message': '\n\n.*$',
|
||||
}
|
||||
expected_results = [
|
||||
{
|
||||
@@ -195,7 +193,6 @@ commit '''
|
||||
'message': '\n\nthird interesting message',
|
||||
'template': 'key-value.html',
|
||||
},
|
||||
|
||||
]
|
||||
|
||||
results = git_log_engine.search(''.encode('utf-8'), {'pageno': 1})
|
||||
|
||||
Reference in New Issue
Block a user