Skip to content

Commit 7d26293

Browse files
committed
oops format
1 parent 91e4388 commit 7d26293

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

api/src/opentrons/drivers/flex_stacker/abstract.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ async def get_hopper_door_closed(self) -> bool:
141141
:return: True if door is closed, False otherwise
142142
"""
143143
...
144-
144+
145145
async def get_installation_detected(self) -> bool:
146146
"""Get whether or not installation is detected.
147147

api/src/opentrons/drivers/flex_stacker/driver.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,16 @@ def parse_door_closed(cls, response: str) -> bool:
167167
if not match:
168168
raise ValueError(f"Incorrect Response for door closed: {response}")
169169
return bool(int(match.group(1)))
170-
170+
171171
@classmethod
172172
def parse_installation_detected(cls, response: str) -> bool:
173173
"""Parse install detection."""
174174
_RE = re.compile(rf"^{GCODE.GET_INSTALL_DETECTED} I:(\d)$")
175175
match = _RE.match(response)
176176
if not match:
177-
raise ValueError(f"Incorrect Response for installation detected: {response}")
177+
raise ValueError(
178+
f"Incorrect Response for installation detected: {response}"
179+
)
178180
return bool(int(match.group(1)))
179181

180182
@classmethod
@@ -640,7 +642,7 @@ async def get_hopper_door_closed(self) -> bool:
640642
GCODE.GET_DOOR_SWITCH.build_command()
641643
)
642644
return self.parse_door_closed(response)
643-
645+
644646
async def get_installation_detected(self) -> bool:
645647
"""Get whether or not installation is detected.
646648

0 commit comments

Comments
 (0)