mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 02:22:22 +02:00
[pylint] searx: drop no longer needed 'missing-function-docstring'
Suggested-by: @dalf https://github.com/searxng/searxng/issues/102#issuecomment-914168470 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
f0059b80ed
commit
2a3b9a2e26
17 changed files with 20 additions and 27 deletions
|
@ -12,8 +12,6 @@ from .online import OnlineProcessor
|
|||
|
||||
parser_re = re.compile('.*?(\\d+(?:\\.\\d+)?) ([^.0-9]+) (?:in|to) ([^.0-9]+)', re.I)
|
||||
|
||||
# pylint: disable=missing-function-docstring
|
||||
|
||||
def normalize_name(name):
|
||||
name = name.lower().replace('-', ' ').rstrip('s')
|
||||
name = re.sub(' +', ' ', name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue