mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[mod] pylint all engines without PYLINT_SEARXNG_DISABLE_OPTION
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
committed by
Markus Heiser
parent
707d6270c8
commit
8205f170ff
@@ -1,11 +1,12 @@
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
"""
|
||||
Wolfram|Alpha (Science)
|
||||
"""Wolfram|Alpha (Science)
|
||||
|
||||
"""
|
||||
|
||||
from lxml import etree
|
||||
from urllib.parse import urlencode
|
||||
|
||||
from lxml import etree
|
||||
|
||||
# about
|
||||
about = {
|
||||
"website": 'https://www.wolframalpha.com',
|
||||
@@ -79,7 +80,7 @@ def response(resp):
|
||||
|
||||
try:
|
||||
infobox_title = search_results.xpath(input_xpath)[0].text
|
||||
except:
|
||||
except: # pylint: disable=bare-except
|
||||
infobox_title = ""
|
||||
|
||||
pods = search_results.xpath(pods_xpath)
|
||||
|
||||
Reference in New Issue
Block a user