mirror of
https://github.com/searxng/searxng.git
synced 2025-07-13 16:29:17 +02:00
[mod] pylint all engines without PYLINT_SEARXNG_DISABLE_OPTION
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
707d6270c8
commit
8205f170ff
155 changed files with 166 additions and 258 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue