Skip to content

Commit

Permalink
Lintage for Pylint upgrade.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacemanPaul committed Jun 12, 2024
1 parent 3e4e787 commit 8648dba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions datacube_ows/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,8 @@ def get_s3_browser_uris(datasets, pt=None, s3url="", s3bucket=""):
if ds.crs != last_crs:
pt_native = pt.to_crs(ds.crs)
last_crs = ds.crs
else:
pt_native = pt
if ds.extent.contains(pt_native):
uris.append(ds.uris)
else:
Expand Down
2 changes: 1 addition & 1 deletion datacube_ows/ogc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def create_geobox(
if width is not None:
scale_x = (float(maxx) - float(minx)) / width
else:
scale_x = -scale_y
scale_x = -scale_y # pylint: disable=possibly-used-before-assignment
width = int(round((float(maxx) - float(minx)) / scale_x))
if height is None:
scale_y = - scale_x
Expand Down

0 comments on commit 8648dba

Please sign in to comment.