Skip to content

Commit 679e34e

Browse files
author
Ariana Barzinpour
committed
linting
1 parent 42b04cd commit 679e34e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

odc/stac/_mdtools.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -715,12 +715,7 @@ def _get_grid(grid_name: str, asset: pystac.asset.Asset) -> GeoBox:
715715
driver_data=driver_data,
716716
)
717717

718-
accessories = {
719-
name: {
720-
"path": _assets[name].href
721-
}
722-
for name in _acc_names
723-
}
718+
accessories = {name: {"path": _assets[name].href} for name in _acc_names}
724719

725720
md = item.common_metadata
726721
return ParsedItem(

odc/stac/model.py

+1
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ class ParsedItem(Mapping[BandIdentifier, RasterSource]):
205205
206206
Only includes raster bands of interest.
207207
"""
208+
208209
# pylint: disable=too-many-instance-attributes
209210

210211
id: str

0 commit comments

Comments
 (0)