diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 563ce2321..aee6754fa 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: diff --git a/src/dolphin/stitching.py b/src/dolphin/stitching.py index 1616b055e..20181a790 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 250fb8700..e06a4bf75 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)