Skip to content

Commit

Permalink
more linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
andySigler committed Aug 15, 2024
1 parent 15d8162 commit 69eac52
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion hardware-testing/hardware_testing/liquid_sense/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
get_testing_data_directory,
)
from opentrons_hardware.hardware_control.motion_planning import move_utils
from opentrons_hardware.hardware_control import tool_sensors

from opentrons.protocol_api import InstrumentContext, ProtocolContext
from opentrons.protocol_engine.types import LabwareOffset
Expand Down
1 change: 1 addition & 0 deletions hardware-testing/hardware_testing/liquid_sense/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ def _load_scale(
return recorder


# flake8: noqa: C901
def run(
tip: int,
run_args: RunArgs,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def _write_line_to_google_sheet(
) -> None:
try:
google_sheet.batch_update_cells(line, "A", row, sheet_id)
except:
except Exception:
ctx.comment("Google sheet not updated.")


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ def _plot_table(model: str, table: List[List[float]]) -> None:
plt.suptitle(model)
plt.plot(*table)
ax = plt.gca()
ax.set_xlim([min(table[0]), max(table[0])])
ax.set_ylim([min(table[1]), max(table[1])])
ax.set_xlim([min(table[0]), max(table[0])]) # type: ignore[arg-type]
ax.set_ylim([min(table[1]), max(table[1])]) # type: ignore[arg-type]
plt.show()


Expand Down

0 comments on commit 69eac52

Please sign in to comment.