Skip to content

Commit

Permalink
Linting, export Pilatus from ad module
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondJoseph committed Apr 17, 2024
1 parent 9ee1de1 commit d924991
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/ophyd_async/epics/areadetector/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from .pilatus import PilatusDetector
from .single_trigger_det import SingleTriggerDet
from .utils import (
FileWriteMode,
Expand All @@ -16,4 +17,5 @@
"ad_rw",
"NDAttributeDataType",
"NDAttributesXML",
"PilatusDetector",
]
4 changes: 3 additions & 1 deletion src/ophyd_async/epics/areadetector/pilatus.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from typing import Optional, Sequence

from bluesky.protocols import Hints

from ophyd_async.core import DirectoryProvider
from ophyd_async.core.detector import StandardDetector
from ophyd_async.core.signal import SignalR
Expand Down Expand Up @@ -40,7 +42,7 @@ def __init__(
ADBaseShapeProvider(self.drv),
**scalar_sigs,
),
config_sigs=config_sigs or (self.drv.acquire_time, ),
config_sigs=config_sigs or (self.drv.acquire_time,),
name=name,
)

Expand Down
3 changes: 1 addition & 2 deletions tests/epics/areadetector/test_pilatus.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import re

import pytest
from bluesky.run_engine import RunEngine

from ophyd_async.core import (
DetectorTrigger,
DeviceCollector,
Expand Down

0 comments on commit d924991

Please sign in to comment.