summaryrefslogtreecommitdiff
path: root/kvmd/plugins/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/__init__.py')
-rw-r--r--kvmd/plugins/__init__.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/kvmd/plugins/__init__.py b/kvmd/plugins/__init__.py
index 9ee8eede..f3afd693 100644
--- a/kvmd/plugins/__init__.py
+++ b/kvmd/plugins/__init__.py
@@ -23,8 +23,6 @@
import importlib
import functools
-from typing import Dict
-from typing import Type
from typing import Any
@@ -44,12 +42,12 @@ class BasePlugin:
return name[name.rindex(".") + 1:]
@classmethod
- def get_plugin_options(cls) -> Dict:
+ def get_plugin_options(cls) -> dict:
return {} # pragma: nocover
@functools.lru_cache()
-def get_plugin_class(sub: str, name: str) -> Type[BasePlugin]:
+def get_plugin_class(sub: str, name: str) -> type[BasePlugin]:
assert sub
assert name
if name.startswith("_"):