Skip to content

Commit

Permalink
ee_number.py: Disable more pylint redefined-builtin complaints abou…
Browse files Browse the repository at this point in the history
…t existing args.

PiperOrigin-RevId: 659993920
  • Loading branch information
schwehr authored and Google Earth Engine Authors committed Aug 6, 2024
1 parent a5420ab commit 4d79959
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions python/ee/ee_number.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,9 @@ def exp(self) -> Number:

@staticmethod
def expression(
expression: _StringType, vars: Optional[_DictionaryType] = None
expression: _StringType,
# pylint: disable-next=redefined-builtin
vars: Optional[_DictionaryType] = None,
) -> Number:
"""Returns a number from computing a numeric expression.
Expand Down Expand Up @@ -590,8 +592,8 @@ def Or(self, right: _NumberType) -> Number:
return apifunction.ApiFunction.call_(self.name() + '.or', self, right)

def parse(
# pylint: disable=redefined-builtin
input: _StringType, radix: Optional[_IntegerType] = None
input: _StringType, # pylint: disable=redefined-builtin
radix: Optional[_IntegerType] = None,
) -> Number:
"""Returns a number from a string.
Expand Down

0 comments on commit 4d79959

Please sign in to comment.