Skip to content

Commit b4f8482

Browse files
Linting fixes
1 parent ad7233b commit b4f8482

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

alluka/managed/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@
3535
__all__: list[str] = ["ConfigFile", "Manager", "PluginConfig"]
3636

3737
import typing
38-
from collections import abc as collections
3938

4039
from . import _index
4140
from ._config import ConfigFile as ConfigFile
42-
from ._config import PluginConfig as PluginConfig
41+
from ._config import PluginConfig as PluginConfig # noqa: TC002
4342
from ._manager import Manager as Manager
4443

4544
if typing.TYPE_CHECKING:
45+
from collections import abc as collections
46+
4647
_T = typing.TypeVar("_T")
4748

4849
_CoroT = collections.Coroutine[typing.Any, typing.Any, _T]

alluka/managed/_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def load_deps(self) -> None:
187187
else:
188188
_LOGGER.warn("Type dependency %r skipped as it can only be created in an async context", type_info.name)
189189

190-
async def load_deps_async(self) -> None:
190+
async def load_deps_async(self) -> None: # noqa: ASYNC910
191191
"""Initialise the configured dependencies asynchronously.
192192
193193
Raises
@@ -244,7 +244,7 @@ def unload_deps(self) -> None:
244244
type_info.dep_type,
245245
)
246246

247-
async def unload_deps_async(self) -> None:
247+
async def unload_deps_async(self) -> None: # noqa: ASYNC910
248248
"""Unload the configured dependencies asynchronously.
249249
250250
Raises

0 commit comments

Comments
 (0)