diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-07 13:34:35 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-07 13:34:35 +0200 |
commit | 2a3b9a2e26fc9570c2dd2f070257968a2b3a1149 (patch) | |
tree | d104874dbc13e878303a37bb0e7f6d5c4ec42304 /searx/search/processors | |
parent | f0059b80edd892cea2ed42c8fe350e9377956c9d (diff) | |
download | searxng-2a3b9a2e26fc9570c2dd2f070257968a2b3a1149.tar.gz searxng-2a3b9a2e26fc9570c2dd2f070257968a2b3a1149.zip |
[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>
Diffstat (limited to 'searx/search/processors')
-rw-r--r-- | searx/search/processors/abstract.py | 2 | ||||
-rw-r--r-- | searx/search/processors/online_currency.py | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/searx/search/processors/abstract.py b/searx/search/processors/abstract.py index 81724f052..c8d81c026 100644 --- a/searx/search/processors/abstract.py +++ b/searx/search/processors/abstract.py @@ -19,8 +19,6 @@ from searx.utils import get_engine_from_settings logger = logger.getChild('searx.search.processor') SUSPENDED_STATUS = {} -# pylint: disable=missing-function-docstring - class SuspendedStatus: """Class to handle suspend state.""" 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) |