Skip to content

Commit

Permalink
Black formatting and isort.
Browse files Browse the repository at this point in the history
  • Loading branch information
canismarko committed Nov 27, 2023
1 parent d3b7125 commit 2e5c921
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from haven.instrument.dxp import add_mcas as add_dxp_mcas
from haven.instrument.ion_chamber import IonChamber
from haven.instrument.shutter import Shutter
from haven.instrument.slits import BladeSlits, ApertureSlits
from haven.instrument.slits import ApertureSlits, BladeSlits
from haven.instrument.xspress import Xspress3Detector
from haven.instrument.xspress import add_mcas as add_xspress_mcas

Expand Down Expand Up @@ -187,7 +187,9 @@ def blade_slits(sim_registry):
def aperture_slits(sim_registry):
"""A fake slit assembling using the rotary aperture design."""
FakeSlits = make_fake_device(ApertureSlits)
slits = FakeSlits(prefix="255ida:slits:US:", name="whitebeam_slits", labels={"slits"})
slits = FakeSlits(
prefix="255ida:slits:US:", name="whitebeam_slits", labels={"slits"}
)
sim_registry.register(slits)
return slits

Expand Down
2 changes: 1 addition & 1 deletion src/firefly/slits.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import haven
from haven.instrument import slits
from firefly import display
from haven.instrument import slits


class SlitsDisplay(display.FireflyDisplay):
Expand Down

0 comments on commit 2e5c921

Please sign in to comment.