From 7420706a5074803a78f3c795cf79427746e504e0 Mon Sep 17 00:00:00 2001 From: Jost Alemann <58050402+ddogfoodd@users.noreply.github.com> Date: Tue, 20 May 2025 19:03:54 +0000 Subject: [chore] fix some docstring typos (#4815) --- searx/plugins/_core.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'searx/plugins/_core.py') 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 -- cgit v1.2.3