From d77500e7173621cdf64d76583e31b70d47b28f5c Mon Sep 17 00:00:00 2001 From: Ariana Barzinpour Date: Tue, 3 Sep 2024 04:26:35 +0000 Subject: [PATCH] linting --- odc/stac/_mdtools.py | 7 +------ odc/stac/model.py | 1 + 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/odc/stac/_mdtools.py b/odc/stac/_mdtools.py index 059b9d0..e1bb64f 100644 --- a/odc/stac/_mdtools.py +++ b/odc/stac/_mdtools.py @@ -715,12 +715,7 @@ def _get_grid(grid_name: str, asset: pystac.asset.Asset) -> GeoBox: driver_data=driver_data, ) - accessories = { - name: { - "path": _assets[name].href - } - for name in _acc_names - } + accessories = {name: {"path": _assets[name].href} for name in _acc_names} md = item.common_metadata return ParsedItem( diff --git a/odc/stac/model.py b/odc/stac/model.py index 8e63fe1..747f9d7 100644 --- a/odc/stac/model.py +++ b/odc/stac/model.py @@ -205,6 +205,7 @@ class ParsedItem(Mapping[BandIdentifier, RasterSource]): Only includes raster bands of interest. """ + # pylint: disable=too-many-instance-attributes id: str