Skip to content

Commit 76083db

Browse files
committed
maint: apply latest black==25.1.0
1 parent 37cc926 commit 76083db

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

odc/loader/_rio.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ def prep_dst(dst: Optional[np.ndarray]) -> Optional[np.ndarray]:
492492
return dst.transpose([2, 0, 1])
493493

494494
def fixup_out(
495-
x: tuple[tuple[slice, slice], np.ndarray]
495+
x: tuple[tuple[slice, slice], np.ndarray],
496496
) -> tuple[tuple[slice, slice], np.ndarray]:
497497
roi, out = x
498498
if out.ndim == 2 or ydim == 1:

odc/stac/_mdtools.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def geobox_gsd(geobox: GeoBox) -> float:
301301

302302

303303
def compute_eo3_grids(
304-
assets: Dict[str, pystac.asset.Asset]
304+
assets: Dict[str, pystac.asset.Asset],
305305
) -> Tuple[Dict[str, GeoBox], Dict[str, str]]:
306306
"""
307307
Compute a minimal set of eo3 grids.
@@ -319,7 +319,7 @@ def compute_eo3_grids(
319319

320320

321321
def _group_geoboxes(
322-
geoboxes: Dict[str, GeoBox]
322+
geoboxes: Dict[str, GeoBox],
323323
) -> Tuple[Dict[str, GeoBox], Dict[str, str]]:
324324
# pylint: disable=too-many-locals
325325
assert len(geoboxes) > 0

odc/stac/model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ def from_dict(
486486

487487

488488
def _norm_band_cfg(
489-
cfg: Dict[str, Any]
489+
cfg: Dict[str, Any],
490490
) -> Tuple[RasterBandMetadata, Dict[str, RasterBandMetadata]]:
491491
fallback = norm_band_metadata(cfg.get("*", {}))
492492
return fallback, {

0 commit comments

Comments
 (0)