File tree 2 files changed +5
-4
lines changed 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 35
35
__all__ : list [str ] = ["ConfigFile" , "Manager" , "PluginConfig" ]
36
36
37
37
import typing
38
- from collections import abc as collections
39
38
40
39
from . import _index
41
40
from ._config import ConfigFile as ConfigFile
42
- from ._config import PluginConfig as PluginConfig
41
+ from ._config import PluginConfig as PluginConfig # noqa: TC002
43
42
from ._manager import Manager as Manager
44
43
45
44
if typing .TYPE_CHECKING :
45
+ from collections import abc as collections
46
+
46
47
_T = typing .TypeVar ("_T" )
47
48
48
49
_CoroT = collections .Coroutine [typing .Any , typing .Any , _T ]
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ def load_deps(self) -> None:
187
187
else :
188
188
_LOGGER .warn ("Type dependency %r skipped as it can only be created in an async context" , type_info .name )
189
189
190
- async def load_deps_async (self ) -> None :
190
+ async def load_deps_async (self ) -> None : # noqa: ASYNC910
191
191
"""Initialise the configured dependencies asynchronously.
192
192
193
193
Raises
@@ -244,7 +244,7 @@ def unload_deps(self) -> None:
244
244
type_info .dep_type ,
245
245
)
246
246
247
- async def unload_deps_async (self ) -> None :
247
+ async def unload_deps_async (self ) -> None : # noqa: ASYNC910
248
248
"""Unload the configured dependencies asynchronously.
249
249
250
250
Raises
You can’t perform that action at this time.
0 commit comments