Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -11,7 +11,7 @@ repos:
types: [text]
files: \.(json|ipynb)$
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.6
rev: v0.15.7
hooks:
- id: ruff
args: [--fix, --show-fixes]
Expand All @@ -22,6 +22,6 @@ repos:
- id: ruff-format
types_or: [python, jupyter]
- repo: https://github.com/rbubley/mirrors-prettier # Update mirror as official mirror is deprecated
rev: v3.5.1
rev: v3.8.1
hooks:
- id: prettier
2 changes: 1 addition & 1 deletion docs/paper/plotting_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def plot_ctd(ds, ax, plot_variable, vmin, vmax, axes_labels=False):
var_down = _ctd_descent_only(ctd_distance, MAP_VARNAMES[plot_variable])

# 1d array of depth dimension (from deepest trajectory)
traj_idx, obs_idx = np.where(z_down == np.nanmin(z_down))
traj_idx, _ = np.where(z_down == np.nanmin(z_down))
z1d = z_down.values[traj_idx[0], :]

# distance as 1d array
Expand Down
6 changes: 4 additions & 2 deletions src/virtualship/cli/_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -1055,8 +1055,10 @@ def save_pressed(self) -> None:
self.sync_ui_waypoints() # call to ensure waypoint inputs are synced

# verify schedule
wp_lats, wp_lons = _get_waypoint_latlons(
expedition_editor.expedition.schedule.waypoints
_wp_lats, _wp_lons = (
_get_waypoint_latlons( # TODO: Remove these since they aren't used?
expedition_editor.expedition.schedule.waypoints
)
)
instruments_config = expedition_editor.expedition.instruments_config

Expand Down
Loading