Skip to content
Open
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
Expand Up @@ -18,20 +18,20 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black-pre-commit-mirror
rev: "25.11.0"
rev: "26.3.1"
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.15.9
hooks:
- id: ruff
args: [--preview, --fix, --exit-non-zero-on-fix]
types_or: [python, jupyter]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.19.0"
rev: "v1.20.0"
hooks:
- id: mypy
additional_dependencies:
Expand Down
4 changes: 2 additions & 2 deletions src/opera_utils/disp/create_incidence_range.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ def create_incidence_angle_raster(
# Set the units attribute as degrees
dst.units = ["degrees"]
dst.descriptions = [
"Incidence angle between the line-of-sight (LOS) vector and the normal"
" to the ellipsoid at the target"
("Incidence angle between the line-of-sight (LOS) vector and the normal"
" to the ellipsoid at the target")
]


Expand Down
2 changes: 1 addition & 1 deletion src/opera_utils/stitching.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,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
Expand Down
Loading