Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 21, 2024
1 parent 3b3dcfe commit e613a3b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/aiida/brokers/broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
import abc
import typing as t


if t.TYPE_CHECKING:
from aiida.manage.configuration.profile import Profile
from plumpy.coordinator import Coordinator

from aiida.manage.configuration.profile import Profile

__all__ = ('Broker',)


Expand Down
1 change: 1 addition & 0 deletions src/aiida/brokers/rabbitmq/broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

if t.TYPE_CHECKING:
from kiwipy.rmq import RmqThreadCommunicator

from aiida.manage.configuration.profile import Profile

LOGGER = AIIDA_LOGGER.getChild('broker.rabbitmq')
Expand Down
1 change: 0 additions & 1 deletion src/aiida/engine/processes/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
# from kiwipy.communications import UnroutableError
# from plumpy.processes import ConnectionClosed # type: ignore[attr-defined]
from plumpy.process_states import Finished, ProcessState

from plumpy.processes import Process as PlumpyProcess
from plumpy.utils import AttributesFrozendict

Expand Down
4 changes: 1 addition & 3 deletions src/aiida/manage/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@

from __future__ import annotations

import asyncio
from typing import TYPE_CHECKING, Any, Optional, Union

import asyncio
import kiwipy
from plumpy.coordinator import Coordinator

if TYPE_CHECKING:
from kiwipy.rmq import RmqThreadCommunicator
from plumpy.process_comms import RemoteProcessThreadController

from aiida.brokers.broker import Broker
Expand Down

0 comments on commit e613a3b

Please sign in to comment.