fix(types): P1 — type: ignore[abstract] for plugin-discovery cls() call in registry
This commit is contained in:
@@ -28,7 +28,7 @@ def _load_plugins() -> None:
|
||||
for cls in BaseService.__subclasses__():
|
||||
if not cls.__module__.startswith("decnet.services."):
|
||||
continue
|
||||
instance = cls()
|
||||
instance = cls() # type: ignore[abstract]
|
||||
_registry[instance.name] = instance
|
||||
_loaded = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user