Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
TamarZanzouri committed Dec 23, 2024
1 parent 17720ec commit 7db236e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions api/src/opentrons/protocol_engine/state/update_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ class AbsorbanceReaderInitializeUpdate:
@dataclasses.dataclass
class ModuleStateUpdate:
"""An update to the module state."""

module_id: str
module_type: ModuleType
absorbance_reader_lid: AbsorbanceReaderLidUpdate | NoChangeType = NO_CHANGE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
@pytest.fixture
def absorbance_def() -> LabwareDefinition:
"""Get a tip rack Pydantic model definition value object."""
return LabwareDefinition.construct(
return LabwareDefinition.construct( # type:ignore[call-arg]
namespace="test",
version=1,
parameters=Parameters.construct(
parameters=Parameters.construct( # type:ignore[call-arg]
loadName="cool-labware",
tipOverlap=None, # add a None value to validate serialization to dictionary
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
@pytest.fixture
def absorbance_def() -> LabwareDefinition:
"""Get a tip rack Pydantic model definition value object."""
return LabwareDefinition.construct(
return LabwareDefinition.construct( # type:ignore[call-arg]
namespace="test",
version=1,
parameters=Parameters.construct(
parameters=Parameters.construct( # type:ignore[call-arg]
loadName="cool-labware",
tipOverlap=None, # add a None value to validate serialization to dictionary
),
Expand Down

0 comments on commit 7db236e

Please sign in to comment.