Skip to content

Commit b451291

Browse files
Diff minimization: Revert some small non-semantic changes (formatting etc.)
1 parent 0d7f92b commit b451291

File tree

11 files changed

+6
-11
lines changed

11 files changed

+6
-11
lines changed

api/src/opentrons/execute.py

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
Union,
2424
)
2525

26-
2726
from opentrons_shared_data.labware.labware_definition import LabwareDefinition
2827
from opentrons_shared_data.robot.types import RobotType
2928

api/src/opentrons/hardware_control/emulation/module_server/server.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"""Server notifying of module connections."""
2-
32
import asyncio
43
import logging
54
from typing import Dict, Set

api/src/opentrons/hardware_control/instruments/ot2/instrument_calibration.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ def load_tip_length_for_pipette(
123123
) -> TipLengthCalibration:
124124
if isinstance(tiprack, LabwareDefinition):
125125
tiprack = typing.cast(
126-
"TypeDictLabwareDef",
127-
tiprack.dict(exclude_none=True, exclude_unset=True),
126+
"TypeDictLabwareDef", tiprack.dict(exclude_none=True, exclude_unset=True)
128127
)
129128

130129
tip_length_data = calibration_storage.load_tip_length_calibration(

api/src/opentrons/hardware_control/ot3_calibration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"""Functions and utilites for OT3 calibration."""
2-
32
from __future__ import annotations
43
from functools import lru_cache
54
from dataclasses import dataclass
@@ -560,6 +559,7 @@ async def find_calibration_structure_center(
560559
raise_verify_error: bool = True,
561560
probe: InstrumentProbeType = InstrumentProbeType.PRIMARY,
562561
) -> Point:
562+
563563
# Perform xy offset search
564564
if method == CalibrationMethod.BINARY_SEARCH:
565565
found_center = await find_slot_center_binary(

api/src/opentrons/protocol_engine/clients/transports.py

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from opentrons_shared_data.labware.types import LabwareUri
77
from opentrons_shared_data.labware.labware_definition import LabwareDefinition
88

9+
910
from ..protocol_engine import ProtocolEngine
1011
from ..errors import ProtocolCommandFailedError
1112
from ..error_recovery_policy import ErrorRecoveryType

api/src/opentrons/protocol_engine/state/frustum_helpers.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"""Helper functions for liquid-level related calculations inside a given frustum."""
2-
32
from typing import List, Tuple
43
from numpy import pi, iscomplex, roots, real
54
from math import isclose

api/tests/opentrons/protocol_engine/state/test_command_view_old.py

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
treating CommandState as a private implementation detail.
66
"""
77

8+
89
import pytest
910
from contextlib import nullcontext as does_not_raise
1011
from datetime import datetime

hardware-testing/hardware_testing/production_qc/robot_assembly_qc_ot3/test_peripherals.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"""Test Peripherals."""
2-
32
import asyncio
43
from pathlib import Path
54
from subprocess import run as run_subprocess, Popen, CalledProcessError

hardware-testing/hardware_testing/production_qc/robot_assembly_qc_ot3/test_signals.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
"""Test Signals."""
2-
32
import asyncio
43
from math import copysign
54
from numpy import float64

robot-server/robot_server/runs/router/base_router.py

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
33
Contains routes dealing primarily with `Run` models.
44
"""
5-
65
import logging
76
from datetime import datetime
87
from pathlib import Path

shared-data/python/opentrons_shared_data/protocol/types.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
opentrons_shared_data.protocol.types: types for json protocols
33
"""
44

5-
from typing import Any, Dict, List, Optional, Union, Literal
5+
from typing import Any, Dict, List, Optional, Union
66
from enum import Enum
77

8-
from typing_extensions import TypedDict
8+
from typing_extensions import TypedDict, Literal
99
from ..pipette.types import PipetteName
1010
from ..labware.types import LabwareDefinition
1111
from ..module.types import ModuleModel

0 commit comments

Comments
 (0)