Skip to content

Commit

Permalink
🤖 Lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-branch committed Oct 13, 2023
1 parent 1357d44 commit e96754b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
7 changes: 3 additions & 4 deletions ivy/data_classes/array/experimental/statistical.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,9 @@ def nanmin(
where: Optional[ivy.Array] = None,
out: Optional[ivy.Array] = None,
) -> ivy.Array:
"""
ivy.Array instance method variant of ivy.nanmin. This method simply wraps the
function, and so the docstring for ivy.min also applies to this method with
minimal changes.
"""ivy.Array instance method variant of ivy.nanmin. This method simply
wraps the function, and so the docstring for ivy.min also applies to
this method with minimal changes.
Parameters
----------
Expand Down
14 changes: 6 additions & 8 deletions ivy/data_classes/container/experimental/statistical.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,10 +453,9 @@ def _static_nanmin(
where: Optional[Union[ivy.Array, ivy.Container]] = None,
out: Optional[ivy.Array] = None,
) -> ivy.Container:
"""
ivy.Container static method variant of ivy.nanmin. This method simply wraps the
function, and so the docstring for ivy.nanmin also applies to this method with
minimal changes.
"""ivy.Container static method variant of ivy.nanmin. This method
simply wraps the function, and so the docstring for ivy.nanmin also
applies to this method with minimal changes.
Parameters
----------
Expand Down Expand Up @@ -515,10 +514,9 @@ def nanmin(
initial: Optional[Union[int, float, complex, ivy.Container]] = None,
where: Optional[Union[ivy.Array, ivy.Container]] = None,
) -> ivy.Container:
"""
ivy.Container instance method variant of ivy.nanmin. This method simply wraps
the function, and so the docstring for ivy.nanmin also applies to this method
with minimal changes.
"""ivy.Container instance method variant of ivy.nanmin. This method
simply wraps the function, and so the docstring for ivy.nanmin also
applies to this method with minimal changes.
Parameters
----------
Expand Down
3 changes: 1 addition & 2 deletions ivy/functional/ivy/experimental/statistical.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,7 @@ def nanmin(
initial: Optional[Union[int, float, complex]] = None,
where: Optional[ivy.Array] = None,
) -> ivy.Array:
"""
Return minimum of an array or minimum along an axis, ignoring any NaNs.
"""Return minimum of an array or minimum along an axis, ignoring any NaNs.
Parameters
----------
Expand Down

0 comments on commit e96754b

Please sign in to comment.