mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[fix] issues reported by pylint
Fix pylint issues from commit (3d96a983)
[format.python] initial formatting of the python code
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
3d96a9839a
commit
d84226bf63
9 changed files with 55 additions and 21 deletions
|
|
@ -39,7 +39,12 @@ paging = True
|
|||
categories = ['news']
|
||||
|
||||
# search-url
|
||||
search_url = 'https://news.search.yahoo.com/search' '?{query}&b={offset}'
|
||||
search_url = (
|
||||
# fmt: off
|
||||
'https://news.search.yahoo.com/search'
|
||||
'?{query}&b={offset}'
|
||||
# fmt: on
|
||||
)
|
||||
|
||||
AGO_RE = re.compile(r'([0-9]+)\s*(year|month|week|day|minute|hour)')
|
||||
AGO_TIMEDELTA = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue