Skip to content

Commit 18960aa

Browse files
committed
Fix ruff and tests
1 parent 1ea7ecd commit 18960aa

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

array_api_compat/cupy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from cupy import *
1+
from cupy import * # noqa: F403
22

33
# from cupy import * doesn't overwrite these builtin names
44
from cupy import abs, max, min, round # noqa: F401

array_api_compat/cupy/fft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from cupy.fft import *
1+
from cupy.fft import * # noqa: F403
22
from cupy.fft import __all__ as fft_all
33

44
from ..common import _fft

array_api_compat/numpy/fft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from numpy.fft import *
1+
from numpy.fft import * # noqa: F403
22
from numpy.fft import __all__ as fft_all
33

44
from ..common import _fft

array_api_compat/torch/fft.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,5 @@ def ifftshift(
8282
"fftshift",
8383
"ifftshift",
8484
]
85+
86+
_all_ignore = ['torch']

0 commit comments

Comments
 (0)