From 3ff1bb2489836a98fb010174a08b66c497bc34f0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Jan 2026 18:36:56 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black-pre-commit-mirror: 25.11.0 → 25.12.0](https://github.com/psf/black-pre-commit-mirror/compare/25.11.0...25.12.0) - [github.com/astral-sh/ruff-pre-commit: v0.14.7 → v0.14.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.7...v0.14.11) - [github.com/pre-commit/mirrors-mypy: v1.19.0 → v1.19.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.19.0...v1.19.1) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 563ce232..aee6754f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,19 +20,19 @@ repos: - id: trailing-whitespace - repo: https://github.com/psf/black-pre-commit-mirror - rev: "25.11.0" + rev: "25.12.0" hooks: - id: black args: [--preview, --enable-unstable-feature, string_processing] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.7 + rev: v0.14.11 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.19.0" + rev: "v1.19.1" hooks: - id: mypy additional_dependencies: From 0fc2cf761de93492583226d5b2a959628d3f57ad Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Jan 2026 18:37:14 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/dolphin/stitching.py | 2 +- src/dolphin/unwrap/_tophu.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dolphin/stitching.py b/src/dolphin/stitching.py index 1616b055..20181a79 100644 --- a/src/dolphin/stitching.py +++ b/src/dolphin/stitching.py @@ -270,7 +270,7 @@ def merge_images( out_bounds=out_bounds, out_bounds_epsg=out_bounds_epsg, ) - (xmin, ymin, xmax, ymax) = bounds + xmin, ymin, xmax, ymax = bounds proj_win = (xmin, ymax, xmax, ymin) # ul_lr = ulx, uly, lrx, lry # Write out the files for gdal_merge using the --optfile flag diff --git a/src/dolphin/unwrap/_tophu.py b/src/dolphin/unwrap/_tophu.py index 250fb870..e06a4bf7 100644 --- a/src/dolphin/unwrap/_tophu.py +++ b/src/dolphin/unwrap/_tophu.py @@ -126,7 +126,7 @@ def _get_cb_and_nodata(unwrap_method, unwrap_callback, nodata): ) # Used to track if we can redirect logs or not - (width, height) = io.get_raster_xysize(ifg_filename) + width, height = io.get_raster_xysize(ifg_filename) crs, transform = _get_rasterio_crs_transform(ifg_filename) unw_suffix = full_suffix(unw_filename)