Skip to content

Commit

Permalink
image.py: Minor linting
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 639943201
  • Loading branch information
schwehr authored and Google Earth Engine Authors committed Jun 3, 2024
1 parent 166021f commit e0bd10c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions python/ee/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ def add(self, image2: _ImageType) -> Image:

def addBands(
self,
srcImg: _ImageType,
srcImg: _ImageType, # pylint: disable=invalid-name
names: Optional[_ListType] = None,
overwrite: Optional[_EeBoolType] = None,
) -> Image:
Expand Down Expand Up @@ -852,7 +852,7 @@ def arrayAccum(
)

def arrayArgmax(self) -> Image:
"""Computes the positional indices of the maximum value of array values.
"""Returns the positional indices of the maximum value of array values.
If there are multiple occurrences of the maximum, the indices reflect the
first.
Expand Down Expand Up @@ -885,6 +885,7 @@ def arrayDimensions(self) -> Image:
"""

return apifunction.ApiFunction.call_(self.name() + '.arrayDimensions', self)

def arrayDotProduct(self, image2: _ImageType) -> Image:
"""Computes the dot product.
Expand All @@ -904,7 +905,7 @@ def arrayDotProduct(self, image2: _ImageType) -> Image:

def arrayFlatten(
self,
coordinateLabels: _ListType,
coordinateLabels: _ListType, # pylint: disable=invalid-name
separator: Optional[_StringType] = None,
) -> Image:
"""Returns an image of scalar pixels with one band per element of the array.
Expand Down Expand Up @@ -1030,7 +1031,7 @@ def arrayReduce(
self,
reducer: _EeAnyType,
axes: _EeAnyType,
fieldAxis: Optional[_IntegerType] = None,
fieldAxis: Optional[_IntegerType] = None, # pylint: disable=invalid-name
) -> Image:
"""Reduces elements of each array pixel.
Expand Down

0 comments on commit e0bd10c

Please sign in to comment.