diff options
| author | Martin Fischer <martin@push-f.com> | 2022-01-18 16:28:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-18 16:28:32 +0100 |
| commit | 96a1f79c6dcaa08a231ad3a28b8c17b677cddc9c (patch) | |
| tree | 3dbbf7b506b7e704a21b22344a01cb7c8244282d /searx/plugins | |
| parent | db6f617c0f05b5e29abf176012233025f824cf7d (diff) | |
| parent | 96655cbd4ecc061eaf592f948ae2cac4192850fc (diff) | |
Merge pull request #773 from not-my-profile/typing
More typing
Diffstat (limited to 'searx/plugins')
| -rw-r--r-- | searx/plugins/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/searx/plugins/__init__.py b/searx/plugins/__init__.py index 6c1bea8d0..3d431f329 100644 --- a/searx/plugins/__init__.py +++ b/searx/plugins/__init__.py @@ -10,7 +10,7 @@ from os.path import abspath, basename, dirname, exists, join from shutil import copyfile from pkgutil import iter_modules from logging import getLogger -from typing import List +from typing import List, Tuple from searx import logger, settings @@ -22,6 +22,9 @@ class Plugin: # pylint: disable=too-few-public-methods name: str description: str default_on: bool + js_dependencies: Tuple[str] + css_dependencies: Tuple[str] + preference_section: str logger = logger.getChild("plugins") |