Skip to content

Commit

Permalink
🤖 Lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-branch committed Jul 11, 2023
1 parent 9576c11 commit 42997f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 0 additions & 1 deletion ivy/functional/frontends/paddle/tensor/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,4 +527,3 @@ def sign(self, name=None):
)
def min(self, axis=None, keepdim=False, name=None):
return ivy.min(self._ivy_array, axis=axis, keepdims=keepdim)

Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,13 @@ def test_paddle_instance_reshape(

def _filter_query(query):
return (
query.ndim > 1 if isinstance(query, np.ndarray) else
not any(isinstance(i, np.ndarray) and i.ndim <= 1 for i in query)
if isinstance(query, tuple) else True
query.ndim > 1
if isinstance(query, np.ndarray)
else (
not any(isinstance(i, np.ndarray) and i.ndim <= 1 for i in query)
if isinstance(query, tuple)
else True
)
)


Expand Down

0 comments on commit 42997f2

Please sign in to comment.