summaryrefslogtreecommitdiff
path: root/searx/search
diff options
context:
space:
mode:
authorjazzzooo <38244149+jazzzooo@users.noreply.github.com>2023-09-15 00:53:03 -0700
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-09-18 16:20:27 +0200
commit223b3487c38a2390ad936943266a44da9cbb810a (patch)
tree6dde6498a4c37731427715d01b6314b09be52897 /searx/search
parenta9b6963971327605db1509795be7795dc7401f3f (diff)
downloadsearxng-223b3487c38a2390ad936943266a44da9cbb810a.tar.gz
searxng-223b3487c38a2390ad936943266a44da9cbb810a.zip
[fix] spelling
Diffstat (limited to 'searx/search')
-rw-r--r--searx/search/__init__.py2
-rw-r--r--searx/search/checker/impl.py2
-rw-r--r--searx/search/processors/__init__.py4
-rw-r--r--searx/search/processors/abstract.py6
-rw-r--r--searx/search/processors/offline.py2
-rw-r--r--searx/search/processors/online.py2
-rw-r--r--searx/search/processors/online_currency.py2
-rw-r--r--searx/search/processors/online_dictionary.py2
-rw-r--r--searx/search/processors/online_url_search.py2
9 files changed, 12 insertions, 12 deletions
diff --git a/searx/search/__init__.py b/searx/search/__init__.py
index 478424a0f..fcdc1f72f 100644
--- a/searx/search/__init__.py
+++ b/searx/search/__init__.py
@@ -89,7 +89,7 @@ class Search:
# max of all selected engine timeout
default_timeout = 0
- # start search-reqest for all selected engines
+ # start search-request for all selected engines
for engineref in self.search_query.engineref_list:
processor = PROCESSORS[engineref.name]
diff --git a/searx/search/checker/impl.py b/searx/search/checker/impl.py
index 37f145e1e..087ced5c2 100644
--- a/searx/search/checker/impl.py
+++ b/searx/search/checker/impl.py
@@ -347,7 +347,7 @@ class CheckerTests:
diff2_str = ', '.join(['{}={!r}'.format(k, v2) for (k, (v1, v2)) in diff.items()])
self.test_results.add_error(
self.test_name,
- 'results are identitical for {} and {} ({})'.format(diff1_str, diff2_str, common_str),
+ 'results are identical for {} and {} ({})'.format(diff1_str, diff2_str, common_str),
)
diff --git a/searx/search/processors/__init__.py b/searx/search/processors/__init__.py
index 1390de456..6d2f97fbb 100644
--- a/searx/search/processors/__init__.py
+++ b/searx/search/processors/__init__.py
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
-"""Implement request processores used by engine-types.
+"""Implement request processors used by engine-types.
"""
@@ -30,7 +30,7 @@ from .abstract import EngineProcessor
logger = logger.getChild('search.processors')
PROCESSORS: Dict[str, EngineProcessor] = {}
-"""Cache request processores, stored by *engine-name* (:py:func:`initialize`)
+"""Cache request processors, stored by *engine-name* (:py:func:`initialize`)
:meta hide-value:
"""
diff --git a/searx/search/processors/abstract.py b/searx/search/processors/abstract.py
index ace730e54..0cabec97a 100644
--- a/searx/search/processors/abstract.py
+++ b/searx/search/processors/abstract.py
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
-"""Abstract base classes for engine request processores.
+"""Abstract base classes for engine request processors.
"""
@@ -58,7 +58,7 @@ class SuspendedStatus:
class EngineProcessor(ABC):
- """Base classes used for all types of reqest processores."""
+ """Base classes used for all types of request processors."""
__slots__ = 'engine', 'engine_name', 'lock', 'suspended_status', 'logger'
@@ -165,7 +165,7 @@ class EngineProcessor(ABC):
# deprecated / vintage --> use params['searxng_locale']
#
# Conditions related to engine's traits are implemented in engine.traits
- # module. Don't do 'locale' decissions here in the abstract layer of the
+ # module. Don't do 'locale' decisions here in the abstract layer of the
# search processor, just pass the value from user's choice unchanged to
# the engine request.
diff --git a/searx/search/processors/offline.py b/searx/search/processors/offline.py
index 13f077cb1..ca5b9f050 100644
--- a/searx/search/processors/offline.py
+++ b/searx/search/processors/offline.py
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
-"""Processores for engine-type: ``offline``
+"""Processors for engine-type: ``offline``
"""
diff --git a/searx/search/processors/online.py b/searx/search/processors/online.py
index 7b2ec856b..f30206dc8 100644
--- a/searx/search/processors/online.py
+++ b/searx/search/processors/online.py
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
-"""Processores for engine-type: ``online``
+"""Processors for engine-type: ``online``
"""
# pylint: disable=use-dict-literal
diff --git a/searx/search/processors/online_currency.py b/searx/search/processors/online_currency.py
index 7cb4205c9..c02b8eb99 100644
--- a/searx/search/processors/online_currency.py
+++ b/searx/search/processors/online_currency.py
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
-"""Processores for engine-type: ``online_currency``
+"""Processors for engine-type: ``online_currency``
"""
diff --git a/searx/search/processors/online_dictionary.py b/searx/search/processors/online_dictionary.py
index 6145a47d1..92a688fab 100644
--- a/searx/search/processors/online_dictionary.py
+++ b/searx/search/processors/online_dictionary.py
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
-"""Processores for engine-type: ``online_dictionary``
+"""Processors for engine-type: ``online_dictionary``
"""
diff --git a/searx/search/processors/online_url_search.py b/searx/search/processors/online_url_search.py
index a1dd6a018..9c8890767 100644
--- a/searx/search/processors/online_url_search.py
+++ b/searx/search/processors/online_url_search.py
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# lint: pylint
-"""Processores for engine-type: ``online_url_search``
+"""Processors for engine-type: ``online_url_search``
"""