Skip to content

Commit c7b5780

Browse files
committed
Fix ruff errors
1 parent dfac540 commit c7b5780

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

array_api_compat/common/_aliases.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from typing import TYPE_CHECKING
88
if TYPE_CHECKING:
99
from typing import Optional, Sequence, Tuple, Union
10-
from ._typing import ndarray, Device, Dtype, NestedSequence, SupportsBufferProtocol
10+
from ._typing import ndarray, Device, Dtype
1111

1212
from typing import NamedTuple
1313
import inspect

array_api_compat/numpy/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
try:
2525
# Used in asarray(). Not present in older versions.
26-
from numpy import _CopyMode
26+
from numpy import _CopyMode # noqa: F401
2727
except ImportError:
2828
pass
2929

0 commit comments

Comments
 (0)