We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7535d7a commit 6f15b74Copy full SHA for 6f15b74
alluka/managed/__init__.py
@@ -39,7 +39,7 @@
39
from . import _index
40
from ._config import ConfigFile as ConfigFile
41
from ._config import PluginConfig as PluginConfig # noqa: TC002
42
-from ._config import TypeConfig as TypeConfig
+from ._config import TypeConfig as TypeConfig # noqa: TC002
43
from ._manager import Manager as Manager
44
45
if typing.TYPE_CHECKING:
alluka/managed/_config.py
@@ -272,7 +272,7 @@ class PluginConfig(abc.ABC):
272
__slots__ = ()
273
274
@classmethod
275
- def config_types(cls) -> collections.Sequence[type[PluginConfig]]:
+ def config_types(cls) -> collections.Sequence[type[typing.Any]]:
276
"""The types to use when registering this configuration as a type dependency."""
277
return [cls]
278
0 commit comments