mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[lint] pylint searx/search/processors files / BTW add some doc-strings
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
b1557b5443
commit
924f9afea3
6 changed files with 68 additions and 35 deletions
|
|
@ -1,15 +1,18 @@
|
|||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
# lint: pylint
|
||||
"""Processores for engine-type: ``online_dictionary``
|
||||
|
||||
"""
|
||||
|
||||
import re
|
||||
|
||||
from searx.utils import is_valid_lang
|
||||
from .online import OnlineProcessor
|
||||
|
||||
|
||||
parser_re = re.compile('.*?([a-z]+)-([a-z]+) ([^ ]+)$', re.I)
|
||||
|
||||
|
||||
class OnlineDictionaryProcessor(OnlineProcessor):
|
||||
"""Processor class used by ``online_dictionnary`` engines."""
|
||||
|
||||
engine_type = 'online_dictionnary'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue