Skip to content

Commit 14f70af

Browse files
committed
code review
1 parent c724a52 commit 14f70af

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: array_api_compat/common/_helpers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
_API_VERSIONS: Final = _API_VERSIONS_OLD | frozenset({"2024.12"})
5757

5858

59-
def _is_jax_zero_gradient_array(x: object) -> TypeIs[_ZeroGradientArray]:
59+
def _is_jax_zero_gradient_array(x: object) -> TypeGuard[_ZeroGradientArray]:
6060
"""Return True if `x` is a zero-gradient array.
6161
6262
These arrays are a design quirk of Jax that may one day be removed.

Diff for: pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ ignore_missing_imports = true
100100

101101
[tool.pyright]
102102
include = ["src", "tests"]
103-
pythonVersion = "3.10"
104103
pythonPlatform = "All"
105104

106105
reportAny = false

0 commit comments

Comments
 (0)