Skip to content

Commit

Permalink
format lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Mar 4, 2024
1 parent 5210b86 commit a1e1102
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ async def set_hepa_uv_state(self, light_on: bool, uv_duration_s: int) -> bool:
...

async def get_hepa_uv_state(self) -> Optional[HepaUVState]:
...

def _update_tip_state(self, mount: OT3Mount, status: bool) -> None:
...
20 changes: 1 addition & 19 deletions hardware-testing/hardware_testing/gravimetric/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import asyncio
from random import random, randint
from types import MethodType
from typing import Any, List, Dict, Optional, Tuple, Union
from typing import Any, List, Dict, Optional, Tuple
from statistics import stdev
from . import config
from .liquid_class.defaults import get_liquid_class
Expand Down Expand Up @@ -33,13 +33,8 @@
from .workarounds import get_sync_hw_api
from hardware_testing.opentrons_api.helpers_ot3 import clear_pipette_ul_per_mm

import opentrons.protocol_api.core.engine.deck_conflict as PE_deck_conflict
import opentrons.protocol_engine.execution.pipetting as PE_pipetting
from opentrons.protocol_engine.state import StateView
from opentrons.protocol_engine import (
WellLocation,
DropTipWellLocation,
)


def _add_fake_simulate(
Expand Down Expand Up @@ -242,16 +237,6 @@ def _override_validate_asp_vol(
return aspirate_volume


def _override_check_deck_conflict_for_8_channel(
engine_state: StateView,
pipette_id: str,
labware_id: str,
well_name: str,
well_location: Union[WellLocation, DropTipWellLocation],
) -> None:
return None


def _override_software_supports_high_volumes() -> None:
# yea so ok this is pretty ugly but this is super helpful for us
# with this we don't need to apply patches, and can run the testing scripts
Expand All @@ -261,9 +246,6 @@ def _override_software_supports_high_volumes() -> None:
Pipette.ok_to_add_volume = _override_ok_to_add_volume # type: ignore[assignment]
Pipette.add_current_volume = _override_add_current_volume # type: ignore[assignment]
PE_pipetting._validate_aspirate_volume = _override_validate_asp_vol # type: ignore[assignment]
PE_deck_conflict._check_deck_conflict_for_8_channel = (
_override_check_deck_conflict_for_8_channel
) # type: ignore[assignment]


def _get_channel_offset(cfg: config.VolumetricConfig, channel: int) -> Point:
Expand Down

0 comments on commit a1e1102

Please sign in to comment.