summaryrefslogtreecommitdiff
path: root/searx/plugins/_core.py
diff options
context:
space:
mode:
authorJost Alemann <58050402+ddogfoodd@users.noreply.github.com>2025-05-20 19:03:54 +0000
committerGitHub <noreply@github.com>2025-05-20 21:03:54 +0200
commit7420706a5074803a78f3c795cf79427746e504e0 (patch)
tree67b3ed9c28fe3d145d2d3ab8eaa96ebd5bd34714 /searx/plugins/_core.py
parent6ec554cb5b014dc362c9dc6c4618a6614199911d (diff)
[chore] fix some docstring typos (#4815)
Diffstat (limited to 'searx/plugins/_core.py')
-rw-r--r--searx/plugins/_core.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/searx/plugins/_core.py b/searx/plugins/_core.py
index f5ae56e15..bb1f813d3 100644
--- a/searx/plugins/_core.py
+++ b/searx/plugins/_core.py
@@ -26,7 +26,7 @@ log: logging.Logger = logging.getLogger("searx.plugins")
@dataclass
class PluginInfo:
- """Object that holds informations about a *plugin*, these infos are shown to
+ """Object that holds information about a *plugin*, these infos are shown to
the user in the Preferences menu.
To be able to translate the information into other languages, the text must
@@ -85,7 +85,7 @@ class Plugin(abc.ABC):
constructor (if not already set in the subclass)."""
info: PluginInfo
- """Informations about the *plugin*, see :py:obj:`PluginInfo`."""
+ """Information about the *plugin*, see :py:obj:`PluginInfo`."""
fqn: str = ""
@@ -129,8 +129,8 @@ class Plugin(abc.ABC):
def init(self, app: "flask.Flask") -> bool: # pylint: disable=unused-argument
"""Initialization of the plugin, the return value decides whether this
plugin is active or not. Initialization only takes place once, at the
- time the WEB application is set up. The base methode always returns
- ``True``, the methode can be overwritten in the inheritances,
+ time the WEB application is set up. The base method always returns
+ ``True``, the method can be overwritten in the inheritances,
- ``True`` plugin is active
- ``False`` plugin is inactive