Skip to content

Commit d72079c

Browse files
committed
maint: apply black and isort style.
1 parent c1a1f1a commit d72079c

File tree

4 files changed

+167
-158
lines changed

4 files changed

+167
-158
lines changed

microscope/abc.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,6 @@ def axes(self) -> typing.Mapping[str, StageAxis]:
14681468
"""
14691469
raise NotImplementedError()
14701470

1471-
14721471
@abc.abstractmethod
14731472
def may_move_on_enable(self) -> bool:
14741473
"""Whether calling :func:`enable` is likely to make the stage move.
@@ -1495,7 +1494,6 @@ def may_move_on_enable(self) -> bool:
14951494
"""
14961495
raise NotImplementedError()
14971496

1498-
14991497
@property
15001498
def position(self) -> typing.Mapping[str, float]:
15011499
"""Map of axis name to their current position.

microscope/cameras/picam.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,7 @@ def abort(self):
188188
if self._acquiring:
189189
self._acquiring = False
190190

191-
def set_trigger(
192-
self, ttype: TriggerType, tmode: TriggerMode
193-
) -> None:
191+
def set_trigger(self, ttype: TriggerType, tmode: TriggerMode) -> None:
194192
if ttype == self._trigger_type:
195193
return
196194
elif ttype == TriggerType.SOFTWARE:

0 commit comments

Comments
 (0)