Skip to content

Commit

Permalink
Fix ruff errors
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Mar 22, 2024
1 parent dfac540 commit c7b5780
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion array_api_compat/common/_aliases.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from typing import Optional, Sequence, Tuple, Union
from ._typing import ndarray, Device, Dtype, NestedSequence, SupportsBufferProtocol
from ._typing import ndarray, Device, Dtype

from typing import NamedTuple
import inspect
Expand Down
2 changes: 1 addition & 1 deletion array_api_compat/numpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

try:
# Used in asarray(). Not present in older versions.
from numpy import _CopyMode
from numpy import _CopyMode # noqa: F401
except ImportError:
pass

Expand Down

0 comments on commit c7b5780

Please sign in to comment.