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 26, 2023
1 parent cc9cab7 commit 9759944
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ivy/functional/backends/mxnet/general.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import mxnet as mx
from typing import Union, Optional, Tuple
from typing import Union, Optional
import numpy as np

from ivy.utils.exceptions import IvyNotImplementedException
Expand Down
2 changes: 1 addition & 1 deletion ivy/functional/backends/paddle/general.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Collection of Paddle general functions, wrapped to fit Ivy syntax and signature."""
# global
from numbers import Number
from typing import Optional, Union, Sequence, Callable, List, Tuple
from typing import Optional, Union, Sequence, Callable, List
import paddle
import numpy as np
import multiprocessing as _multiprocessing
Expand Down
2 changes: 1 addition & 1 deletion ivy/functional/backends/tensorflow/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"""

# global
from typing import Optional, Union, Sequence, Callable, Tuple
from typing import Optional, Union, Sequence, Callable
import numpy as np
import multiprocessing as _multiprocessing
from numbers import Number
Expand Down
3 changes: 1 addition & 2 deletions ivy/functional/backends/torch/general.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
"""Collection of PyTorch general functions, wrapped to fit Ivy syntax and signature."""
# global
from functools import reduce as _reduce
import math
from numbers import Number
from operator import mul
from typing import Optional, Union, Sequence, Callable, List, Tuple
from typing import Optional, Union, Sequence, Callable, List

try:
import functorch
Expand Down
2 changes: 1 addition & 1 deletion ivy/functional/frontends/jax/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from . import devicearray
from .devicearray import DeviceArray
from . import general_functions
from .general_functions import *
from .general_functions import ivy
from . import lax
from . import nn
from . import numpy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def test_paddle_broadcast_to(
x=x[0],
shape=shape,
)


@st.composite
def _gather_helper(draw):
Expand Down Expand Up @@ -518,8 +518,8 @@ def test_paddle_gather(
param=param[0],
indices=indices[0],
)


# flip
@st.composite
def _dtype_x_axis(draw, **kwargs):
Expand Down

0 comments on commit 9759944

Please sign in to comment.