Skip to content

Commit

Permalink
Black/isort linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
canismarko committed Oct 22, 2024
1 parent dd68fe0 commit 69f0053
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
6 changes: 1 addition & 5 deletions src/haven/devices/motor.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
from apstools.utils.misc import safe_ophyd_name
from ophyd import Component as Cpt
from ophyd import EpicsMotor, EpicsSignal, EpicsSignalRO, Kind
from ophyd_async.core import (
DEFAULT_TIMEOUT,
ConfigSignal,
SubsetEnum,
)
from ophyd_async.core import DEFAULT_TIMEOUT, ConfigSignal, SubsetEnum
from ophyd_async.epics.motor import Motor as MotorBase
from ophyd_async.epics.signal import epics_signal_r, epics_signal_rw
from ophydregistry import Registry
Expand Down
4 changes: 1 addition & 3 deletions src/haven/devices/shutter.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ def check_value(self, pos):
f"Shutter {self.name} is not permitted to be opened per iconfig.toml. Set `allow_open` for this shutter."
)

async def _actuate_shutter(
self, value: int, open_signal, close_signal
) -> Mapping:
async def _actuate_shutter(self, value: int, open_signal, close_signal) -> Mapping:
"""Open/close the shutter using derived-from signals."""
self.check_value(value)
if value == ShutterState.OPEN:
Expand Down
1 change: 0 additions & 1 deletion src/haven/iconfig_testing.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ prefix = "S255ID-PSS:FES:"
allow_close = false
# allow_open = true # Default


[[ pss_shutter ]]
name = "hutch_shutter"
prefix = "S255ID-PSS:SCS:"
Expand Down
2 changes: 1 addition & 1 deletion src/haven/positioner.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import asyncio
import logging
from functools import partial
import warnings
from functools import partial

import numpy as np
from bluesky.protocols import Movable, Stoppable
Expand Down

0 comments on commit 69f0053

Please sign in to comment.