Skip to content

Commit 61b3c90

Browse files
committed
Fix ruff issues
1 parent 43d60b5 commit 61b3c90

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

Diff for: array_api_strict/_info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def dtypes(
130130
if isinstance(kind, tuple):
131131
res = {}
132132
for k in kind:
133-
res.update(dtypes(kind=k))
133+
res.update(self.dtypes(kind=k))
134134
return res
135135
raise ValueError(f"unsupported kind: {kind!r}")
136136

Diff for: array_api_strict/_typing.py

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
from typing import (
2323
Any,
24-
ModuleType,
2524
TypedDict,
2625
TypeVar,
2726
Protocol,

Diff for: array_api_strict/tests/test_flags.py

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
from .._flags import (set_array_api_strict_flags, get_array_api_strict_flags,
55
reset_array_api_strict_flags)
6-
from .._info import __array_namespace_info__
76
from .._fft import (fft, ifft, fftn, ifftn, rfft, irfft, rfftn, irfftn, hfft,
87
ihfft, fftfreq, rfftfreq, fftshift, ifftshift)
98
from .._linalg import (cholesky, cross, det, diagonal, eigh, eigvalsh, inv,

0 commit comments

Comments
 (0)