Skip to content

Commit

Permalink
Organise imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-fernandes committed Nov 29, 2024
1 parent 3af9f88 commit bd86838
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
21 changes: 18 additions & 3 deletions src/dodal/devices/bimorph_mirror.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
from typing import Annotated as A
import asyncio
from typing import Annotated as A

from bluesky.protocols import Movable
from ophyd_async.core import AsyncStatus, DeviceVector, SignalR, SignalRW, SignalW, StandardReadable, StrictEnum, wait_for_value
from ophyd_async.core import (
AsyncStatus,
DeviceVector,
SignalR,
SignalRW,
SignalW,
StandardReadable,
StrictEnum,
wait_for_value,
)
from ophyd_async.core import StandardReadableFormat as Format
from ophyd_async.epics.core import EpicsDevice, epics_signal_r, epics_signal_x, epics_signal_w, PvSuffix
from ophyd_async.epics.core import (
EpicsDevice,
PvSuffix,
epics_signal_r,
epics_signal_w,
epics_signal_x,
)


class BimorphMirrorOnOff(StrictEnum):
Expand Down
3 changes: 2 additions & 1 deletion tests/devices/unit_tests/test_bimorph_mirror.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import asyncio
import pytest

import pytest
from bluesky.run_engine import RunEngine
from ophyd_async.core import DeviceCollector

from dodal.devices.bimorph_mirror import BimorphMirror


@pytest.fixture
def mirror(RE: RunEngine) -> BimorphMirror:
with DeviceCollector(mock=True):
Expand Down

0 comments on commit bd86838

Please sign in to comment.