summaryrefslogtreecommitdiff
path: root/searx/search/processors/online_currency.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2021-09-07 15:09:40 +0200
committerGitHub <noreply@github.com>2021-09-07 15:09:40 +0200
commite41f78b806a4f00cbb37fd4a276aff7d10230057 (patch)
treed104874dbc13e878303a37bb0e7f6d5c4ec42304 /searx/search/processors/online_currency.py
parent9ef7f38e4f20bad5a76867aa3e5049a92bc58e59 (diff)
parent2a3b9a2e26fc9570c2dd2f070257968a2b3a1149 (diff)
Merge pull request #301 from return42/fix-lintrc
[pylint] .pylintrc - disable missing-function-docstring
Diffstat (limited to 'searx/search/processors/online_currency.py')
-rw-r--r--searx/search/processors/online_currency.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/searx/search/processors/online_currency.py b/searx/search/processors/online_currency.py
index 4f642fa72..3213a11e5 100644
--- a/searx/search/processors/online_currency.py
+++ b/searx/search/processors/online_currency.py
@@ -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)